diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2014-06-26 00:21:57 -0400 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2014-08-20 05:19:49 -0400 |
commit | 47391b18e2084f2747b10aa6158bc40e03f01528 (patch) | |
tree | c4964c57901313d4067f80325d320cc94a579b49 /src/nvim/getchar.c | |
parent | bbefc73c553d681f78f40df9d97ec89ae9b06520 (diff) | |
download | rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.gz rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.bz2 rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.zip |
Port vim's patch 7.4.338 ('breakindent')
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index e98bb2744c..6c772a8a66 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -2163,7 +2163,7 @@ static int vgetorpeek(int advance) while (col < curwin->w_cursor.col) { if (!vim_iswhite(ptr[col])) curwin->w_wcol = vcol; - vcol += lbr_chartabsize(ptr + col, + vcol += lbr_chartabsize(ptr, ptr + col, (colnr_T)vcol); if (has_mbyte) col += (*mb_ptr2len)(ptr + col); |