Fixed floating point constants defined as double but expected as float
commit79a95d717393d50fa4d1c22a97cc88f6264de335
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 24 May 2015 13:49:06 +0000 (24 15:49 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 24 May 2015 22:25:57 +0000 (24 23:25 +0100)
tree06b099b5251f2149a22b974be2e3bbf20060df92
parent1df08cc492020c9e663f122fc3f293a2d20b1565
Fixed floating point constants defined as double but expected as float

To preserve the accuracy of the operation, the C standard request that the
mathematical operation is performed using double precision, but in many
case this is not necessary so this patch fixes a few constants to avoid
that conversion.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/wcolorwell.c
WINGs/wscroller.c
WINGs/wscrollview.c
WPrefs.app/MouseSettings.c
src/misc.c
wrlib/alpha_combine.c
wrlib/context.c
wrlib/rotate.c