mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
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.
This commit is contained in:
@@ -5609,7 +5609,7 @@ int match_add(win_T *wp, const char *const grp, const char *const pat,
|
||||
m->match.rmm_maxcol = 0;
|
||||
m->conceal_char = 0;
|
||||
if (conceal_char != NULL) {
|
||||
m->conceal_char = (*mb_ptr2char)((const char_u *)conceal_char);
|
||||
m->conceal_char = utf_ptr2char((const char_u *)conceal_char);
|
||||
}
|
||||
|
||||
// Set up position matches
|
||||
|
Reference in New Issue
Block a user