aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-27 20:30:23 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-27 20:30:23 +0200
commitdfe9937786a5183952bb464901da9ba951e71652 (patch)
treef8875f2d89d852095307b9163297ff9ec94833aa /view.c
parent56f198904932a87952d89f0d13b30ba229901a83 (diff)
parent03ceb7943b7f28c0b52803d64f956ca549e2cc03 (diff)
downloadvis-dfe9937786a5183952bb464901da9ba951e71652.tar.gz
vis-dfe9937786a5183952bb464901da9ba951e71652.tar.xz
Merge branch 'theme-tweaks-2' of https://github.com/p-e-w/vis
Conflicts: view.c
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 d6de690..b1b210a 100644
--- a/view.c
+++ b/view.c
@@ -416,7 +416,7 @@ void view_draw(View *view) {
/* resync position of cursors within visible area */
for (Selection *s = view->selections; s; s = s->next) {
size_t pos = view_cursors_pos(s);
- if (!view_coord_get(view, pos, &s->line, &s->row, &s->col) &&
+ if (!view_coord_get(view, pos, &s->line, &s->row, &s->col) &&
s == view->selection) {
s->line = view->topline;
s->row = 0;