mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -240,7 +240,7 @@ Array nvim_get_autocmds(Dict(get_autocmds) *opts, Error *err)
|
||||
assert(pattern_filters[i]);
|
||||
|
||||
char *pat = pattern_filters[i];
|
||||
int patlen = (int)STRLEN(pat);
|
||||
int patlen = (int)strlen(pat);
|
||||
|
||||
if (aupat_is_buflocal(pat, patlen)) {
|
||||
aupat_normalize_buflocal_pat(pattern_buflocal,
|
||||
|
Reference in New Issue
Block a user