On Fri, Jul 26, 2002 at 03:14:08PM +0200, Jean-Marc Lasgouttes wrote: > The reason I meantion it is that I do not understand how a test like > if (ev->xmotion.x != x_old || > ev->xmotion.y != y_old || > fl_get_scrollbar_value(area->scrollbar) != scrollbar_value_old > > can make sense since one is comparing a double with an int.
It undoubtedly can't ... > John, can you make sure the logic is right? (I am especially wary of 1.2.1). Now you're making a double comparison without an epsilon ... that's not reliable. We have a float_equals<> somewhere regards john