From 03ceb7943b7f28c0b52803d64f956ca549e2cc03 Mon Sep 17 00:00:00 2001 From: Philipp Emanuel Weidmann Date: Sat, 10 Jun 2017 20:15:36 +0530 Subject: More theme improvements --- view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view.c') diff --git a/view.c b/view.c index 76410aa..3ed89d9 100644 --- a/view.c +++ b/view.c @@ -421,7 +421,7 @@ void view_draw(View *view) { /* resync position of cursors within visible area */ for (Cursor *c = view->cursors; c; c = c->next) { size_t pos = view_cursors_pos(c); - if (!view_coord_get(view, pos, &c->line, &c->row, &c->col) && + if (!view_coord_get(view, pos, &c->line, &c->row, &c->col) && c == view->cursor) { c->line = view->topline; c->row = 0; -- cgit v1.2.3