mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 01:08:20 +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:
@@ -4103,7 +4103,7 @@ get_syn_options(
|
||||
} else if (flagtab[fidx].argtype == 11 && arg[5] == '=') {
|
||||
/* cchar=? */
|
||||
if (has_mbyte) {
|
||||
*conceal_char = mb_ptr2char(arg + 6);
|
||||
*conceal_char = utf_ptr2char(arg + 6);
|
||||
arg += mb_ptr2len(arg + 6) - 1;
|
||||
} else {
|
||||
*conceal_char = arg[6];
|
||||
|
Reference in New Issue
Block a user