summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r--desktop/textarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index fa5bc4edd..6fa7739bd 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -908,7 +908,7 @@ void textarea_redraw(struct text_area *ta, int x, int y,
/* Caret in vertical clip range; plot */
plot->line(x + ta->caret_x, y + ta->caret_y,
x + ta->caret_x,
- y + ta->caret_y + ta->line_height,
+ y + ta->caret_y + caret_height,
&pstyle_stroke_caret);
}
}