diff options
author | 2013-12-19 17:12:03 -0500 | |
---|---|---|
committer | 2013-12-19 17:12:03 -0500 | |
commit | d43224542be41473fbdc6738d0387f783c9e5b87 (patch) | |
tree | 012b674a53b1c10b4648593c1c39d77864fc9db8 | |
parent | 1466a5fc4e5c21eaadbbfc9cda8d9fb0f368f02b (diff) | |
download | textadept-d43224542be41473fbdc6738d0387f783c9e5b87.tar.gz textadept-d43224542be41473fbdc6738d0387f783c9e5b87.zip |
Some programs pass lower-case drive letters to external editors; core/args.lua
-rw-r--r-- | core/args.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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] |