diff options
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 88db6907..aca5af2b 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -99,8 +99,8 @@ function io.open_file(filenames, encodings) if not assert_type(filenames, 'string/table/nil', 1) then filenames = ui.dialogs.fileselect{ title = _L['Open File'], select_multiple = true, - with_directory = - (buffer.filename or ''):match('^.+[/\\]') or lfs.currentdir(), + with_directory = (buffer.filename or ''):match('^.+[/\\]') or + lfs.currentdir(), width = CURSES and ui.size[1] - 2 or nil } if not filenames then return end |