From 5e7626a5c6af6fcdee809d54201929b6f78b72f6 Mon Sep 17 00:00:00 2001 From: Shirasaka Date: Tue, 10 Nov 2020 00:36:26 +0900 Subject: [PATCH] Fix alignment issue --- src/nvim/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index 03cd438e2c..cff88de00b 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -331,8 +331,8 @@ retnomove: } if (row >= 0 && row < Rows && col >= 0 && col <= Columns && gp->chars != NULL) { - mouse_char = utf_ptr2char(gp->chars[gp->line_offset[row] - + (unsigned)col]); + mouse_char = utf_ptr2char(gp->chars[gp->line_offset[row] + + (unsigned)col]); } else { mouse_char = ' '; }