From ad6f72667bd87dd67d2304daed74948750d032a4 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 1 Feb 2009 18:36:17 +0000 Subject: Remove the caret by replacing it with the area under the caret, rather than the area displayed somewhere else on the page. svn path=/trunk/netsurf/; revision=6338 --- amiga/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 3617e46e6..26581dfe4 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2673,7 +2673,7 @@ void gui_window_remove_caret(struct gui_window *g) GetAttr(SCROLLER_Top,g->shared->objects[OID_HSCROLL],(ULONG *)&xs); GetAttr(SCROLLER_Top,g->shared->objects[OID_VSCROLL],(ULONG *)&ys); - BltBitMapRastPort(glob.bm,g->c_x+bbox->Left-xs,g->c_y+bbox->Top-ys,g->shared->win->RPort,bbox->Left+g->c_x-xs,bbox->Top+g->c_y-ys,2+1,g->c_h+1,0x0C0); + BltBitMapRastPort(glob.bm,g->c_x-xs,g->c_y-ys,g->shared->win->RPort,bbox->Left+g->c_x-xs,bbox->Top+g->c_y-ys,2+1,g->c_h+1,0x0C0); g->c_h = 0; } -- cgit v1.2.3