diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-08 01:24:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 01:24:18 +0200 |
commit | c06613d2f6c3f3a864c43e03b95d12efb3e0f4a6 (patch) | |
tree | 3d052800def8498c4d26887b881f99e40bb38a46 /src/nvim/ex_cmds.c | |
parent | 1593ee7cf21f77168531c959fa9e73933b502d2e (diff) | |
parent | 5cecd7a93aba83cd477519974fc33fadbdcfdc87 (diff) | |
download | rneovim-c06613d2f6c3f3a864c43e03b95d12efb3e0f4a6.tar.gz rneovim-c06613d2f6c3f3a864c43e03b95d12efb3e0f4a6.tar.bz2 rneovim-c06613d2f6c3f3a864c43e03b95d12efb3e0f4a6.zip |
Merge #8665 'Remove mb_ptr2char macro'
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 4ef51b72b7..e99de1ad41 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5641,7 +5641,7 @@ void ex_sign(exarg_T *eap) // Count cells and check for non-printable chars cells = 0; for (s = arg; s < p; s += (*mb_ptr2len)(s)) { - if (!vim_isprintc((*mb_ptr2char)(s))) { + if (!vim_isprintc(utf_ptr2char(s))) { break; } cells += (*mb_ptr2cells)(s); |