From 5a2757d809ea3bb7a27877b8ac7e071e322f9413 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 12 Jul 2009 13:03:56 -0400 Subject: Lua code cleanup. --- 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 bf0809cd..3d184c36 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -331,7 +331,7 @@ function load_session(filename, only_pm) local anchor, current_pos, first_visible_line, filename = line:match('^buffer: (%d+) (%d+) (%d+) (.+)$') if not filename:find('^%[.+%]$') then - textadept.io.open(filename or '', 'rb') + textadept.io.open(filename or '') else textadept.new_buffer() buffer._type = filename -- cgit v1.2.3