From d43224542be41473fbdc6738d0387f783c9e5b87 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 19 Dec 2013 17:12:03 -0500 Subject: Some programs pass lower-case drive letters to external editors; core/args.lua --- core/args.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/args.lua b/core/args.lua index b9635d29..6f63f616 100644 --- a/core/args.lua +++ b/core/args.lua @@ -57,7 +57,7 @@ function M.process(arg) f(table.unpack(args)) i = i + n else - if not arg[i]:find(not WIN32 and '^/' or '^%u:[/\\]') then + if not arg[i]:find(not WIN32 and '^/' or '^%a:[/\\]') then -- Convert relative path to absolute path. local cwd = arg[-1] or lfs.currentdir() arg[i] = cwd..(not WIN32 and '/' or '\\')..arg[i] -- cgit v1.2.3