summaryrefslogtreecommitdiff
path: root/atari/rootwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/rootwin.c')
-rwxr-xr-xatari/rootwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c
index 824317a25..5dcb47f61 100755
--- a/atari/rootwin.c
+++ b/atari/rootwin.c
@@ -596,7 +596,8 @@ void window_schedule_redraw_grect(ROOTWIN *rootwin, GRECT *area)
//dbg_grect("window_schedule_redraw_grect input ", area);
guiwin_get_grect(rootwin->win, GUIWIN_AREA_WORK, &work);
- rc_intersect(area, &work);
+ if(!rc_intersect(area, &work))
+ return;
//dbg_grect("window_schedule_redraw_grect intersection ", &work);