aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-08-29 21:15:32 +0300
committerZviRackover <zvirack@gmail.com>2018-08-31 22:45:10 +0300
commit1c03a064870af18f50d4f11cf4c7532c5cfae495 (patch)
treee9d2c6c5509ad8ae700b5a71cc920c2abd0c3833 /src/nvim/ex_cmds.c
parente30ccd56d9543afd5e66feec984a9dc8bc6be38e (diff)
downloadrneovim-1c03a064870af18f50d4f11cf4c7532c5cfae495.tar.gz
rneovim-1c03a064870af18f50d4f11cf4c7532c5cfae495.tar.bz2
rneovim-1c03a064870af18f50d4f11cf4c7532c5cfae495.zip
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
Remove occurences of these macros.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index c9eccfa6b0..2da6721011 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5653,7 +5653,7 @@ void ex_sign(exarg_T *eap)
if (!vim_isprintc(utf_ptr2char(s))) {
break;
}
- cells += (*mb_ptr2cells)(s);
+ cells += utf_ptr2cells(s);
}
// Currently must be one or two display cells
if (s != p || cells < 1 || cells > 2) {