mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Update vim_FullName() to define fname as const
This commit is contained in:
parent
4ccf2740c8
commit
2f60a69baf
@ -1563,7 +1563,7 @@ int vim_isAbsName(char_u *name)
|
||||
/// @param force is a flag to force expanding even if the path is absolute
|
||||
///
|
||||
/// @return FAIL for failure, OK otherwise
|
||||
int vim_FullName(char *fname, char *buf, int len, bool force)
|
||||
int vim_FullName(const char *fname, char *buf, int len, bool force)
|
||||
FUNC_ATTR_NONNULL_ARG(1)
|
||||
{
|
||||
int retval = OK;
|
||||
|
Loading…
Reference in New Issue
Block a user