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/eval.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/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 3abc39e7bf..ca3c650466 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -15896,7 +15896,7 @@ static void f_strgetchar(typval_T *argvars, typval_T *rettv, FunPtr fptr) while (charidx >= 0 && byteidx < len) { if (charidx == 0) { - rettv->vval.v_number = mb_ptr2char((const char_u *)str + byteidx); + rettv->vval.v_number = utf_ptr2char((const char_u *)str + byteidx); break; } charidx--; |