diff options
author | Matt Turner <mattst88@gmail.com> | 2012-02-29 14:26:06 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-02-29 14:26:06 -0500 |
commit | 7fd6427bc3016e9666a587386779952cf8979f09 (patch) | |
tree | abff741834af812607db64ad4d02b2f52d852eb9 | |
parent | 7323a5c201cebbccca19ca7e84e9df19b013cdee (diff) |
Fix parameters of FloatInRange
Introduced in f6cd786d1.
Reported-by: Jean-Pierre Demailly <Jean-Pierre.Demailly@ujf-grenoble.fr>
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/Scrollbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Scrollbar.c b/src/Scrollbar.c index be74ed3..5667327 100644 --- a/src/Scrollbar.c +++ b/src/Scrollbar.c @@ -865,7 +865,7 @@ InRange(int num, int small, int big) */ static float -FloatInRange(int num, int small, int big) +FloatInRange(float num, float small, float big) { return (num < small) ? small : ((num > big) ? big : num); } |