[patch] avoid floating point exception when clicking in the GUI

Ben Hutchings ben at decadent.org.uk
Thu Nov 20 23:43:10 UTC 2008

On Thu, Nov 20, 2008 at 10:38:30PM +0100, Petter Reinholdtsen wrote:
> At the moment, dvswitch will crash with floating point exception if
> one click in the main video area before any source is started.  This
> patch solve the issue, but I am not sure if it is the correct
> approach.
> Posting it here for review.  Should it be applied?

Looks reasonable, but please wrap the comment at < 80 characters.


Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/dvswitch-devel/attachments/20081120/884b8ea7/attachment.pgp 

More information about the dvswitch-devel mailing list