diff options
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3223,7 +3223,7 @@ do_addsub( while (ptr[col] != NUL && !vim_isdigit(ptr[col]) && !(doalp && ASCII_ISALPHA(ptr[col]))) - col += MB_PTR2LEN(ptr + col); + col += mb_ptr2len(ptr + col); while (col > 0 && vim_isdigit(ptr[col - 1]) @@ -3242,7 +3242,7 @@ do_addsub( && !vim_isdigit(ptr[col]) && !(doalp && ASCII_ISALPHA(ptr[col]))) { - int mb_len = MB_PTR2LEN(ptr + col); + int mb_len = mb_ptr2len(ptr + col); col += mb_len; length -= mb_len; |