diff options
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 05da7c9..379af90 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -411,6 +411,8 @@ static void draw_caret(cairo_t *cr, struct frame *fr, int cursor_para, return; } + cx += fr->x; + clow += fr->y; chigh = clow + h; cairo_move_to(cr, cx, clow); |