aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-08-15 22:46:48 +0300
committerZviRackover <zvirack@gmail.com>2018-08-16 06:03:49 +0300
commit30392b635689a5f25421c17ead79e521863c8b57 (patch)
treedcfc160cd10b09de6a7ededd4d241196b24ac122 /src/nvim/getchar.c
parent2bddc4ca54e31a14b7e9799beda134217ae867e7 (diff)
downloadrneovim-30392b635689a5f25421c17ead79e521863c8b57.tar.gz
rneovim-30392b635689a5f25421c17ead79e521863c8b57.tar.bz2
rneovim-30392b635689a5f25421c17ead79e521863c8b57.zip
Remove has_mbyte from lines near changes in parent commit
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 8c6c3dfd7e..c8f29435e3 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2129,7 +2129,7 @@ static int vgetorpeek(int advance)
curwin->w_wcol = curwin->w_width - 1;
col = curwin->w_cursor.col - 1;
}
- if (has_mbyte && col > 0 && curwin->w_wcol > 0) {
+ if (col > 0 && curwin->w_wcol > 0) {
/* Correct when the cursor is on the right halve
* of a double-wide character. */
ptr = get_cursor_line_ptr();