diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/grid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/grid.c b/src/nvim/grid.c index f20a9a847d..cd70e98047 100644 --- a/src/nvim/grid.c +++ b/src/nvim/grid.c @@ -549,6 +549,7 @@ void grid_put_linebuf(ScreenGrid *grid, int row, int coloff, int endcol, int cle } if (bg_attr) { + assert(off_from == (size_t)col); for (int c = col; c < endcol; c++) { linebuf_attr[c] = hl_combine_attr(bg_attr, linebuf_attr[c]); } |