From 0c03e5fd03732d2a47eeb32bfb43f67f7139332f Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Thu, 4 Dec 2014 22:15:03 +0100 Subject: 2014-12-04 22:01:00 --- scripts/context/lua/mtx-fcd.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3