diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-12-31 13:29:58 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-12-31 16:24:07 +0100 |
commit | c72d9ce0a602ba53b99145f64f0d43327a4e3eb3 (patch) | |
tree | c34bef18907b53dc98e0009ff69a799440080384 /src/nvim/ui.c | |
parent | c778c2e107d7c9453b22e45bf8ec595956ea1538 (diff) | |
download | rneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.tar.gz rneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.tar.bz2 rneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.zip |
multigrid: rename grid->ScreenLines and other grid arrays
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index fd134e626f..dc81c18b0b 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -320,14 +320,14 @@ void ui_set_ext_option(UI *ui, UIExtension ext, bool active) void ui_line(ScreenGrid *grid, int row, int startcol, int endcol, int clearcol, int clearattr, bool wrap) { - size_t off = grid->LineOffset[row] + (size_t)startcol; + size_t off = grid->line_offset[row] + (size_t)startcol; int row_off = ui_is_external(kUIMultigrid) ? 0 : grid->row_offset; int col_off = ui_is_external(kUIMultigrid) ? 0 : grid->col_offset; UI_CALL(raw_line, grid->handle, row_off + row, col_off + startcol, col_off + endcol, col_off + clearcol, clearattr, wrap, - (const schar_T *)grid->ScreenLines + off, - (const sattr_T *)grid->ScreenAttrs + off); + (const schar_T *)grid->chars + off, + (const sattr_T *)grid->attrs + off); if (p_wd) { // 'writedelay': flush & delay each time. int old_row = row, old_col = col; |