wmaker: Changed math on floating point by integer operation
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 16 Jun 2013 19:51:01 +0000 (21:51 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 17 Jun 2013 00:54:06 +0000 (01:54 +0100)
commite9764aab71835608054589013957635c0e0616e4
treebbfc22527bdfcd7bb76d070064e3c71958ce0158
parent95ee539d6d33710cee9bbe051436b2147cebd295
wmaker: Changed math on floating point by integer operation

For this case we happen to already have the same variable as integer
type, so it is better to use them directly for computation.

Please note that the floating point variables do not contain more
precision in this use case, otherwise the change would not be
transparent.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/misc.c