aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 55935564b8..a03fd2e8a9 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1290,8 +1290,8 @@ scripterror:
}
#ifdef USE_FNAME_CASE
- /* Make the case of the file name match the actual file. */
- fname_case(p, 0);
+ // Make the case of the file name match the actual file.
+ path_fix_case(p);
#endif
alist_add(&global_alist, p,