mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
refactor: replace char_u #18429
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -3977,7 +3977,7 @@ static bool shada_removable(const char *name)
|
||||
for (p = (char *)p_shada; *p;) {
|
||||
(void)copy_option_part((char_u **)&p, (char_u *)part, ARRAY_SIZE(part), ", ");
|
||||
if (part[0] == 'r') {
|
||||
home_replace(NULL, (char_u *)(part + 1), (char_u *)NameBuff, MAXPATHL, true);
|
||||
home_replace(NULL, part + 1, (char *)NameBuff, MAXPATHL, true);
|
||||
size_t n = STRLEN(NameBuff);
|
||||
if (mb_strnicmp((char_u *)NameBuff, (char_u *)new_name, n) == 0) {
|
||||
retval = true;
|
||||
|
Reference in New Issue
Block a user