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
This commit is contained in:
Chris Young 2011-03-19 22:40:02 +00:00
parent e8ca07b0dc
commit dad9306e2a

View File

@ -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);