diff options
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 7ccf7605..5314d51d 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -173,7 +173,7 @@ function io.open_file(utf8_filenames) elseif lfs.attributes(filename) then error(err) end - local buffer = new_buffer() + local buffer = buffer.new() -- Tries to detect character encoding and convert text from it to UTF-8. local encoding, encoding_bom = detect_encoding(text) if encoding ~= 'binary' then |