cocoa: fix a double vs. float mismatch in getting scroll positions

This commit is contained in:
Matthew Flatt 2010-11-06 21:22:46 -06:00
parent 9b7e09f4b4
commit 53febbeb6c

View File

@ -561,7 +561,7 @@
0.0)))]
[(scroller)
(if scroller
(->long (round (* (tell #:type _double (scroller-cocoa scroller) floatValue)
(->long (round (* (tell #:type _float (scroller-cocoa scroller) floatValue)
(scroller-range scroller))))
0)]))