>>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> On Fri, Jul 26, 2002 at 03:14:08PM +0200, Jean-Marc Lasgouttes John> 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. John> It undoubtedly can't ... >> John, can you make sure the logic is right? (I am especially wary >> of 1.2.1). John> Now you're making a double comparison without an epsilon ... John> that's not reliable. We have a float_equals<> somewhere No, because what we want to detect is repetition of identical events. This corresponds to the same position of the scrollbar, doesn't it? JMarc