aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-08-29 21:55:35 +0300
committerZviRackover <zvirack@gmail.com>2018-08-31 22:47:49 +0300
commit1015aa6ff36b6f936f4707119d57cf561df28feb (patch)
tree841b4372ea8a97a335dc486561772ed35396d3d1 /src/nvim/ex_cmds.c
parent1c03a064870af18f50d4f11cf4c7532c5cfae495 (diff)
downloadrneovim-1015aa6ff36b6f936f4707119d57cf561df28feb.tar.gz
rneovim-1015aa6ff36b6f936f4707119d57cf561df28feb.tar.bz2
rneovim-1015aa6ff36b6f936f4707119d57cf561df28feb.zip
Remove has_mbytes from lines local to parent commit
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 2da6721011..ca975ee02a 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5649,7 +5649,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)) {
+ for (s = arg; s < p; s += utfc_ptr2len(s)) {
if (!vim_isprintc(utf_ptr2char(s))) {
break;
}