mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
refactor: replace char_u with char 18 (#21237)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -2442,8 +2442,8 @@ void path_guess_exepath(const char *argv0, char *buf, size_t bufsize)
|
||||
xstrlcpy(NameBuff, dir, dir_len + 1);
|
||||
xstrlcat(NameBuff, PATHSEPSTR, sizeof(NameBuff));
|
||||
xstrlcat(NameBuff, argv0, sizeof(NameBuff));
|
||||
if (os_can_exe((char *)NameBuff, NULL, false)) {
|
||||
xstrlcpy(buf, (char *)NameBuff, bufsize);
|
||||
if (os_can_exe(NameBuff, NULL, false)) {
|
||||
xstrlcpy(buf, NameBuff, bufsize);
|
||||
return;
|
||||
}
|
||||
} while (iter != NULL);
|
||||
|
Reference in New Issue
Block a user