mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor(grid.c): remove duplicate assignments
They were removed from Vim in patch 9.0.0638.
This commit is contained in:
parent
b9e75e5751
commit
f0e6e2ae46
@ -625,12 +625,10 @@ void grid_put_linebuf(ScreenGrid *grid, int row, int coloff, int endcol, int cle
|
||||
}
|
||||
|
||||
grid->attrs[off_to] = linebuf_attr[off_from];
|
||||
grid->vcols[off_to] = linebuf_vcol[off_from];
|
||||
// For simplicity set the attributes of second half of a
|
||||
// double-wide character equal to the first half.
|
||||
if (char_cells == 2) {
|
||||
grid->attrs[off_to + 1] = linebuf_attr[off_from];
|
||||
grid->vcols[off_to + 1] = linebuf_vcol[off_from + 1];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user