summaryrefslogtreecommitdiff
path: root/src/scriptfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-12 15:15:27 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-12 15:15:27 +0000
commit5d9826973d9f4c6ffbb5648676bb628660c62906 (patch)
tree06681a69b48663b7a0b9486bbc4b041dfe5f0603 /src/scriptfile.c
parentf479cac084c7ddd9f20944c8978d39f3ef092868 (diff)
downloadvim-git-5d9826973d9f4c6ffbb5648676bb628660c62906.tar.gz
patch 8.2.4069: Vim9: import test fails on MS-Windowsv8.2.4069
Problem: Vim9: import test fails on MS-Windows. Solution: Ignore case. Adjust test to avoid name that only differs in case.
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r--src/scriptfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 350813934..56186ff07 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -2156,7 +2156,7 @@ get_autoload_prefix(scriptitem_T *si)
if (p == NULL)
return NULL;
- prefix = vim_strsave(p);
+ prefix = strlow_save(p);
if (prefix == NULL)
return NULL;