mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fixup: compile-time errors
This commit is contained in:
parent
909c967f35
commit
e39be42c09
@ -2202,9 +2202,9 @@ static int path_get_absolute_path(const char_u *fname, char_u *buf,
|
||||
|
||||
// expand it if forced or not an absolute path
|
||||
if (force || !path_is_absolute_path(fname)) {
|
||||
p = vim_strrchr(fname, "/")
|
||||
p = vim_strrchr(fname, PATHSEP);
|
||||
#ifdef WIN32
|
||||
if (p == NULL) p = vim_strrchr(fname, "\\")
|
||||
if (p == NULL) p = vim_strrchr(fname, '/');
|
||||
#endif
|
||||
if (p != NULL) {
|
||||
// relative to root
|
||||
|
Loading…
Reference in New Issue
Block a user