diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-17 21:36:38 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-17 21:36:38 +0100 |
| commit | 41804da41dedf214b70e1998e0c23a162a19760d (patch) | |
| tree | 3e1a311c45e0d873a4d87a2f2cd4a119998d51a1 /vis.c | |
| parent | 47762a1be8127514a6e0da13607bb77f961b7508 (diff) | |
| download | vis-41804da41dedf214b70e1998e0c23a162a19760d.tar.gz vis-41804da41dedf214b70e1998e0c23a162a19760d.tar.xz | |
vis: fix selection background color
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -383,7 +383,7 @@ static void window_draw_selection(View *view, Cursor *cur, CellStyle *style) { int col = (l == start_line) ? start_col : 0; int end = (l == end_line) ? end_col : l->width; while (col < end) { - if (cell_color_equal(l->cells[col].style.fg, style->fg)) { + if (cell_color_equal(l->cells[col].style.fg, style->bg)) { CellStyle old = l->cells[col].style; l->cells[col].style.fg = old.bg; l->cells[col].style.bg = old.fg; |
