input: fix floating point comparison
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 18:02:24 +0000 (21:02 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 18:27:56 +0000 (21:27 +0300)
commit0b2b33f83fa6e06522ea3af30c821adaa2acb02c
tree6d5a179b5e3d53417f12c2f5ada01a94cd459d29
parent9483c8c4fc6556fdecd678ad716c4004cc589d2b
input: fix floating point comparison

The value is later used as single precision, so the comparison has to
have single precision too.
src/input/input.c