summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-14 12:34:53 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-14 12:34:53 +0000
commitabdfed143c599f254f2147836bba7961ed6c6651 (patch)
treef21eab20d7dd2155a576cccb0dea23e5845521ac /amiga/gui.c
parent6bd9988edbfc955e8366305892ae4f593b05db7a (diff)
downloadnetsurf-abdfed143c599f254f2147836bba7961ed6c6651.tar.gz
netsurf-abdfed143c599f254f2147836bba7961ed6c6651.tar.bz2
reset scroll values to reflect position for new content
svn path=/trunk/netsurf/; revision=7800
Diffstat (limited to 'amiga/gui.c')
-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;