Update vim_FullName() to define fname as const

This commit is contained in:
Mark Bainter 2015-05-04 12:44:06 -05:00
parent 4ccf2740c8
commit 2f60a69baf

View File

@ -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;