aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorPhilipp Emanuel Weidmann <pew@worldwidemann.com>2017-06-10 20:15:36 +0530
committerPhilipp Emanuel Weidmann <pew@worldwidemann.com>2017-06-10 20:15:36 +0530
commit03ceb7943b7f28c0b52803d64f956ca549e2cc03 (patch)
treede8df9ae822839712bd71fe8e8f088cc008ef383 /view.c
parent081d99dda082a360dad367e8e2cc036a738edca5 (diff)
downloadvis-03ceb7943b7f28c0b52803d64f956ca549e2cc03.tar.gz
vis-03ceb7943b7f28c0b52803d64f956ca549e2cc03.tar.xz
More theme improvements
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
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;