aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mouse.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-12-31 13:29:58 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2018-12-31 16:24:07 +0100
commitc72d9ce0a602ba53b99145f64f0d43327a4e3eb3 (patch)
treec34bef18907b53dc98e0009ff69a799440080384 /src/nvim/mouse.c
parentc778c2e107d7c9453b22e45bf8ec595956ea1538 (diff)
downloadrneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.tar.gz
rneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.tar.bz2
rneovim-c72d9ce0a602ba53b99145f64f0d43327a4e3eb3.zip
multigrid: rename grid->ScreenLines and other grid arrays
Diffstat (limited to 'src/nvim/mouse.c')
-rw-r--r--src/nvim/mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c
index fe5918eae4..3790886194 100644
--- a/src/nvim/mouse.c
+++ b/src/nvim/mouse.c
@@ -110,9 +110,9 @@ retnomove:
// Remember the character under the mouse, it might be a '-' or '+' in the
// fold column. NB: only works for ASCII chars!
if (row >= 0 && row < Rows && col >= 0 && col <= Columns
- && default_grid.ScreenLines != NULL) {
- mouse_char = default_grid.ScreenLines[default_grid.LineOffset[row]
- + (unsigned)col][0];
+ && default_grid.chars != NULL) {
+ mouse_char = default_grid.chars[default_grid.line_offset[row]
+ + (unsigned)col][0];
} else {
mouse_char = ' ';
}