diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-27 20:30:23 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-27 20:30:23 +0200 |
| commit | dfe9937786a5183952bb464901da9ba951e71652 (patch) | |
| tree | f8875f2d89d852095307b9163297ff9ec94833aa /view.c | |
| parent | 56f198904932a87952d89f0d13b30ba229901a83 (diff) | |
| parent | 03ceb7943b7f28c0b52803d64f956ca549e2cc03 (diff) | |
| download | vis-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
