Fixed somekind of bug (it could happen when we access to invalid memory).

This commit is contained in:
David Capello 2010-04-01 00:08:08 -03:00
parent c6a385ef03
commit 571a735f3a

View File

@ -515,7 +515,7 @@ void gui_feedback()
void gui_flip_screen()
{
/* double buffering? */
if (double_buffering && ji_screen) {
if (double_buffering && ji_screen && screen) {
jmouse_draw_cursor();
if (ji_dirty_region) {