aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/grid.c')
-rw-r--r--src/nvim/grid.c1
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]);
}