diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-06-16 11:55:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 11:55:40 +0200 |
commit | 4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d (patch) | |
tree | 22e59e2f57c824369bd8d5f0d561f42303886229 /src/nvim/misc1.c | |
parent | c990d65c37ded9ad9f4002a6eb6ec36aa29b4fe3 (diff) | |
parent | f419f914fc52fc86216b59e8ffa6fd510f79c6cd (diff) | |
download | rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.tar.gz rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.tar.bz2 rneovim-4c3c04d03cc0cdbccfb71b534fc3cd238fd3974d.zip |
Merge #8526 from janlazo/vim-8.0.0451
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index a5da9d3220..5678360ef0 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -531,7 +531,7 @@ open_line ( int l; while (old_size < repl_size && p > leader) { - mb_ptr_back(leader, p); + MB_PTR_BACK(leader, p); old_size += ptr2cells(p); } l = lead_repl_len - (int)(endp - p); @@ -1311,7 +1311,7 @@ int plines_win_col(win_T *wp, linenr_T lnum, long column) colnr_T col = 0; while (*s != NUL && --column >= 0) { col += win_lbr_chartabsize(wp, line, s, col, NULL); - mb_ptr_adv(s); + MB_PTR_ADV(s); } // If *s is a TAB, and the TAB is not displayed as ^I, and we're not in |