mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor: replace char_u with char 22 (#21786)
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1424,7 +1424,7 @@ static size_t uc_check_code(char *code, size_t len, char *buf, ucmd_T *cmd, exar
|
||||
ct_NONE,
|
||||
} type = ct_NONE;
|
||||
|
||||
if ((vim_strchr("qQfF", *p) != NULL) && p[1] == '-') {
|
||||
if ((vim_strchr("qQfF", (uint8_t)(*p)) != NULL) && p[1] == '-') {
|
||||
quote = (*p == 'q' || *p == 'Q') ? 1 : 2;
|
||||
p += 2;
|
||||
l -= 2;
|
||||
|
Reference in New Issue
Block a user