wmaker: Removed equality comparison on floating point number
commit1da498ff3b82628e77ebbd3adce15e9c4a8bb144
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 10 May 2013 22:07:19 +0000 (11 00:07 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 10 May 2013 23:17:27 +0000 (11 00:17 +0100)
tree5b1f36518525f2dde1aec4ef8c1fde8d3823f171
parent0e411226806c9afe0b9fde6368b94849204ad907
wmaker: Removed equality comparison on floating point number

The equality comparison (a == b) is known to be a dangerous trap
when floating-point arithmetics are involved. In the current case
the offending operation can be done with integers directly.
src/misc.c