summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 734e056cc..cccbc59ea 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2850,6 +2850,8 @@ void gui_window_new_content(struct gui_window *g)
ami_clearclipreg(currp);
g->shared->new_content = true;
+ g->scrollx = 0;
+ g->scrolly = 0;
if(g->shared->bw->browser_window_type != BROWSER_WINDOW_NORMAL)
return;