[compiz] [PATCH] Fix for negative float option values
Erkin Bahceci
erkinbah at gmail.com
Sat Mar 24 10:37:21 PDT 2007
The email somehow got lost. Resending:
Hi,
Here is a patch that fixes negative float option values. Previously
because of a small calculation error, when negative values were
allowed for a float option (say with precision 5), when the user
entered -21, the value would change to -15, then -10, then -5, then 0,
instead of just changing to -20 and staying there. This patch fixes
that.
Regards,
Erkin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: option_negative_float_fix.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070324/689a8520/option_negative_float_fix.bin
More information about the compiz
mailing list