[AD] [WIN] Minor fix related to save_window_pos() |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
save_window_pos() was inconditionally called by the *_exit() function of the three window drivers, without taking into account whether the driver had been successfully set up. Therefore, if it had not been the case, save_window_pos() ended up saving the position of the hidden window, that is (-100, -100). Obviously not very nice. The attached patch has already been applied. -- Eric Botcazou ebotcazou@xxxxxxxxxx
Attachment:
win.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |