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 15ed79d0e..3986d2d0e 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3180,7 +3180,7 @@ void ami_do_redraw(struct gui_window_2 *g)
gui_window_remove_caret(g->bw->window);
ScrollWindowRaster(g->win,hcurrent-oldh,vcurrent-oldv,
- xoffset,yoffset,xoffset+width,yoffset+height);
+ xoffset,yoffset,xoffset+width-1,yoffset+height-1);
g->bw->window->c_h = g->bw->window->c_h_temp;