mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
fixup: lint errors
This commit is contained in:
@@ -2204,7 +2204,9 @@ static int path_get_absolute_path(const char_u *fname, char_u *buf,
|
|||||||
if (force || !path_is_absolute_path(fname)) {
|
if (force || !path_is_absolute_path(fname)) {
|
||||||
p = vim_strrchr(fname, '/');
|
p = vim_strrchr(fname, '/');
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (p == NULL) p = vim_strrchr(fname, '\\');
|
if (p == NULL) {
|
||||||
|
p = vim_strrchr(fname, '\\');
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (p != NULL) {
|
if (p != NULL) {
|
||||||
// relative to root
|
// relative to root
|
||||||
|
Reference in New Issue
Block a user