summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-xamiga/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 29e7b3fbd..33afd9120 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2704,8 +2704,12 @@ void gui_window_place_caret(struct gui_window *g, int x, int y, int height)
if(((x-xs) <= 0) || ((x-xs+2) >= (bbox->Width)) || ((y-ys) <= 0) || ((y-ys) >= (bbox->Height))) return;
+ SetDrMd(g->shared->win->RPort,COMPLEMENT);
+
RectFill(g->shared->win->RPort,x+bbox->Left-xs,y+bbox->Top-ys,x+bbox->Left+2-xs,y+bbox->Top+height-ys);
+ SetDrMd(g->shared->win->RPort,JAM1);
+
g->c_x = x;
g->c_y = y;
g->c_h = height;