aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/arabic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/arabic.c')
-rw-r--r--src/nvim/arabic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/arabic.c b/src/nvim/arabic.c
index 7cf9025933..7f12c0c798 100644
--- a/src/nvim/arabic.c
+++ b/src/nvim/arabic.c
@@ -761,7 +761,7 @@ int arabic_shape(int c, int *ccp, int *c1p, int prev_c, int prev_c1,
char_u buf[MB_MAXBYTES + 1];
// Update the first byte of the character
- (*mb_char2bytes)(curr_c, buf);
+ utf_char2bytes(curr_c, buf);
*ccp = buf[0];
}