From 2321c7ad5ab98d0be3b932f00bb91601b313cef9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 10 Apr 2014 10:04:49 -0400 Subject: Fixed bug introduced by r1710 relating to absolute paths. --- core/file_io.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/file_io.lua') 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 -- cgit v1.2.3