fix(build): remove USE_FNAME_CASE, redundant with CASE_INSENSITIVE_FILENAME

It stands to reason, you need to "fix" case-insensitive filenames
if-and-only-if you have case-insensitive filenames.
This commit is contained in:
bfredl
2024-10-11 20:25:35 +02:00
parent 26e765f905
commit 486076a0e1
7 changed files with 6 additions and 9 deletions

View File

@@ -2985,7 +2985,7 @@ int setfname(buf_T *buf, char *ffname_arg, char *sfname_arg, bool message)
close_buffer(NULL, obuf, DOBUF_WIPE, false, false);
}
sfname = xstrdup(sfname);
#ifdef USE_FNAME_CASE
#ifdef CASE_INSENSITIVE_FILENAME
path_fix_case(sfname); // set correct case for short file name
#endif
if (buf->b_sfname != buf->b_ffname) {