[AD] 4.9.2 win/wwnd.c bug?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


/4.9.2/src/win/wwnd.c line 670
#ifdef ALLEGRO_COLORCONV_ALIGNED_WIDTH
     last_wnd_x &= 0xfffffffc;
#endif

1. makes presumptions about sizeof(type)

2. rounds toward zero..  yet zero is of no significance.

.. in the windows desktop co-ord system zero is of no significance, it might be in the middle of several monitors. if the value is less than zero, it moves right, if the value is more than zero, it moves left.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/