summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-01 18:36:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-02-01 18:36:17 +0000
commitad6f72667bd87dd67d2304daed74948750d032a4 (patch)
tree2bf9619b465f30870c8ddcb303c960e588d40fd2 /amiga
parentaa61544828405d57080b030278080d3e56c65aab (diff)
downloadnetsurf-ad6f72667bd87dd67d2304daed74948750d032a4.tar.gz
netsurf-ad6f72667bd87dd67d2304daed74948750d032a4.tar.bz2
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
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c2
1 files changed, 1 insertions, 1 deletions
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;
}