mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +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:
@@ -1275,7 +1275,7 @@ void openscript(char *name, bool directly)
|
||||
// use NameBuff for expanded name
|
||||
expand_env(name, NameBuff, MAXPATHL);
|
||||
int error;
|
||||
if ((scriptin[curscript] = file_open_new(&error, (char *)NameBuff,
|
||||
if ((scriptin[curscript] = file_open_new(&error, NameBuff,
|
||||
kFileReadOnly, 0)) == NULL) {
|
||||
semsg(_(e_notopen_2), name, os_strerror(error));
|
||||
if (curscript) {
|
||||
|
Reference in New Issue
Block a user