[LIBART] art_affline.c bug?



Greetings everyone,

Should this line:

 if ((int)floor ((x + EPSILON / 2) < 1))

http://cvs.gnome.org/lxr/source/libart_lgpl/art_affine.c#127

look something more like this?

 if( (int)floor (x + EPSILON / 2) < 1)

It seems odd to pass the result of a comparison to floor().

Thanks,
Alan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]