aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
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;