aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-10-11 21:36:52 +0200
committerGitHub <noreply@github.com>2024-10-11 21:36:52 +0200
commit555784612b2e3a34315058d3f9454283b6722b91 (patch)
tree2a1c2cb5d2d098553e28a2c90ebd5a5486ffd631 /src/nvim/buffer.c
parent26e765f905cbf1df18cfc825bad9b1b982f517ea (diff)
parent486076a0e1ee3c7bb230e0f95a21607fadea96d4 (diff)
downloadrneovim-555784612b2e3a34315058d3f9454283b6722b91.tar.gz
rneovim-555784612b2e3a34315058d3f9454283b6722b91.tar.bz2
rneovim-555784612b2e3a34315058d3f9454283b6722b91.zip
Merge pull request #30766 from bfredl/filecase
fix(build): remove USE_FNAME_CASE, redundant with CASE_INSENSITIVE_FILENAME
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 4a87cebfa7..ce47705aa6 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -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) {