mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
test: use a wider screen in the rightleft winhl test (#22641)
With a wide screen this actually previously caused an overflow.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user