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