diff options
author | 2009-07-12 13:03:56 -0400 | |
---|---|---|
committer | 2009-07-12 13:03:56 -0400 | |
commit | 5a2757d809ea3bb7a27877b8ac7e071e322f9413 (patch) | |
tree | 94bc768cbb1b43bb360414ac417d449e7724eb66 /core/file_io.lua | |
parent | 6eb0af0fbf8c19ef9c73e6aba08e782cc7db745d (diff) | |
download | textadept-5a2757d809ea3bb7a27877b8ac7e071e322f9413.tar.gz textadept-5a2757d809ea3bb7a27877b8ac7e071e322f9413.zip |
Lua code cleanup.
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 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 |