WINGs: Changed equality comparison on floating point number
commit0e411226806c9afe0b9fde6368b94849204ad907
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 10 May 2013 22:07:18 +0000 (11 00:07 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 10 May 2013 23:17:27 +0000 (11 00:17 +0100)
treed03dd47286a13bae51b269acaf07f6fc27b594a4
parentdcfd7a4b5e9c3ccdb0a1ccd1270b214c0ed8ae8d
WINGs: Changed equality comparison on floating point number

The equality comparison (a == b) is known to be a dangerous trap
when floating-point arithmetics are involved. This patch changes
all the cases which try to do this to a safer check.
WINGs/wscrollview.c