diff options
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r-- | src/nvim/mark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c index 7cfe3f4a18..49e60b5166 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -603,7 +603,7 @@ static char_u *mark_line(pos_T *mp, int lead_len) /* Truncate the line to fit it in the window */ len = 0; - for (p = s; *p != NUL; mb_ptr_adv(p)) { + for (p = s; *p != NUL; MB_PTR_ADV(p)) { len += ptr2cells(p); if (len >= Columns - lead_len) break; |