mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user