diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-19 22:40:02 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-19 22:40:02 +0000 |
commit | dad9306e2a52d4fee80eb1137617704ed8eb659e (patch) | |
tree | d23c78f8b3ea852de27b0cb3db1f86cb3c305e7b /amiga | |
parent | e8ca07b0dc481d4065f5a43749116ffdc5c64e0b (diff) | |
download | netsurf-dad9306e2a52d4fee80eb1137617704ed8eb659e.tar.gz netsurf-dad9306e2a52d4fee80eb1137617704ed8eb659e.tar.bz2 |
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
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 4 |
1 files 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); |