aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-06-29 22:31:20 +0300
committerZviRackover <zvirack@gmail.com>2018-08-06 20:48:07 +0300
commit10b6afd652a896144d87fb0db4389001293e7973 (patch)
treed77eedbc08dd9d8038c31bdcdfbcacc974157e61 /src/nvim/buffer.c
parent1593ee7cf21f77168531c959fa9e73933b502d2e (diff)
downloadrneovim-10b6afd652a896144d87fb0db4389001293e7973.tar.gz
rneovim-10b6afd652a896144d87fb0db4389001293e7973.tar.bz2
rneovim-10b6afd652a896144d87fb0db4389001293e7973.zip
Remove all occurences of the mb_ptr2char macro
First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 3020c29709..67e4b00705 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -3223,7 +3223,7 @@ int build_stl_str_hl(
if (wp->w_cursor.col > (colnr_T)STRLEN(line_ptr))
byteval = 0;
else
- byteval = (*mb_ptr2char)(line_ptr + wp->w_cursor.col);
+ byteval = utf_ptr2char(line_ptr + wp->w_cursor.col);
int groupdepth = 0;