diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-04 22:15:03 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-04 22:15:03 +0100 |
commit | 0c03e5fd03732d2a47eeb32bfb43f67f7139332f (patch) | |
tree | 61d7be8a52e13b1692ada408d44af50e62d64f1b /scripts | |
parent | 606f30879286f37c0cf0ef42bc225e835d0d596d (diff) | |
download | context-0c03e5fd03732d2a47eeb32bfb43f67f7139332f.tar.gz |
2014-12-04 22:01:00
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-fcd.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-fcd.lua b/scripts/context/lua/mtx-fcd.lua index 2fcb9a2c7..76087cc37 100644 --- a/scripts/context/lua/mtx-fcd.lua +++ b/scripts/context/lua/mtx-fcd.lua @@ -247,7 +247,7 @@ end local function fcd_find() found = { } - pattern = environment.files[1] or "" + pattern = lower(environment.files[1] or "") if pattern ~= "" then pattern = string.escapedpattern(pattern) local paths = hash.paths @@ -255,7 +255,7 @@ local function fcd_find() local paths = paths[i][2] for i=1,#paths do local path = paths[i] - if find(path,pattern) then + if find(lower(path),pattern) then found[#found+1] = path end end |