mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: replace char_u with char 4 (#19987)
* refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1280,7 +1280,7 @@ void restore_typeahead(tasave_T *tp)
|
||||
/// Open a new script file for the ":source!" command.
|
||||
///
|
||||
/// @param directly when true execute directly
|
||||
void openscript(char_u *name, bool directly)
|
||||
void openscript(char *name, bool directly)
|
||||
{
|
||||
if (curscript + 1 == NSCRIPT) {
|
||||
emsg(_(e_nesting));
|
||||
@@ -1302,7 +1302,7 @@ void openscript(char_u *name, bool directly)
|
||||
curscript++;
|
||||
}
|
||||
// use NameBuff for expanded name
|
||||
expand_env((char *)name, NameBuff, MAXPATHL);
|
||||
expand_env(name, NameBuff, MAXPATHL);
|
||||
int error;
|
||||
if ((scriptin[curscript] = file_open_new(&error, (char *)NameBuff,
|
||||
kFileReadOnly, 0)) == NULL) {
|
||||
|
Reference in New Issue
Block a user