summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 216bd0ef6..caf7fb784 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1109,7 +1109,7 @@ void ami_handle_msg(void)
break;
case WMHI_ACTIVE:
- curbw = gwin->bw;
+ if(gwin->bw) curbw = gwin->bw;
break;
case WMHI_INTUITICK: