mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
refactor: grid->rows and grid->cols
This commit is contained in:
@@ -6865,8 +6865,8 @@ void screenchar_adjust_grid(ScreenGrid **grid, int *row, int *col)
|
||||
// have its own buffer, this should just read from it instead.
|
||||
msg_scroll_flush();
|
||||
if (msg_grid.chars && msg_grid.comp_index > 0 && *row >= msg_grid.comp_row
|
||||
&& *row < (msg_grid.Rows + msg_grid.comp_row)
|
||||
&& *col < msg_grid.Columns) {
|
||||
&& *row < (msg_grid.rows + msg_grid.comp_row)
|
||||
&& *col < msg_grid.cols) {
|
||||
*grid = &msg_grid;
|
||||
*row -= msg_grid.comp_row;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user