summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 1e3389da4..423426aa2 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4712,7 +4712,7 @@ static void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
if(sx >= width - bbox->Width)
sx = width - bbox->Width;
- if(sy >= height - bbox->Height))
+ if(sy >= height - bbox->Height)
sy = height - bbox->Height;
if(width <= bbox->Width) sx = 0;