diff options
author | 2014-04-10 10:04:49 -0400 | |
---|---|---|
committer | 2014-04-10 10:04:49 -0400 | |
commit | 2321c7ad5ab98d0be3b932f00bb91601b313cef9 (patch) | |
tree | 31d54d87b96f6d3fd949ec1634d3ea477b4b4823 /core/file_io.lua | |
parent | e96154f12bbfe50ce23b9fb7430275c276a544ec (diff) | |
download | textadept-2321c7ad5ab98d0be3b932f00bb91601b313cef9.tar.gz textadept-2321c7ad5ab98d0be3b932f00bb91601b313cef9.zip |
Fixed bug introduced by r1710 relating to absolute paths.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 264de408..6b860e3b 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -114,7 +114,7 @@ function io.open_file(filenames) } if not filenames then return end for i = 1, #filenames do - local filename = lfs.abspath(filenames[i]:gsub('^file://', '')) + local filename = lfs.abspath((filenames[i]:gsub('^file://', ''))) for i, buffer in ipairs(_BUFFERS) do if filename == buffer.filename then view:goto_buffer(i) goto continue end end |