From dad9306e2a52d4fee80eb1137617704ed8eb659e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 19 Mar 2011 22:40:02 +0000 Subject: [PATCH] print caret at scroll position netsurf believes the page is at, rather than where the gui says it is svn path=/trunk/netsurf/; revision=12108 --- amiga/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 5abf40472..469deafbd 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3746,8 +3746,8 @@ void gui_window_place_caret(struct gui_window *g, int x, int y, int height) gui_window_remove_caret(g); GetAttr(SPACE_AreaBox,g->shared->objects[GID_BROWSER],(ULONG *)&bbox); - ami_get_hscroll_pos(g->shared, (ULONG *)&xs); - ami_get_vscroll_pos(g->shared, (ULONG *)&ys); + xs = g->scrollx; + ys = g->scrolly; SetAPen(g->shared->win->RPort,3);