aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-13 22:55:08 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-13 22:55:08 -0400
commit99543e53c694ed04a9713d3ed5cbc99d68ac0565 (patch)
tree1ca1a389aeaf34e07f4197a3034aa06eeb9bea17 /core/file_io.lua
parentd576494303f603a315f1edee5b8f91cd02a60d60 (diff)
More code cleanup and refactoring.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index aca5af2b..d0c0fb8f 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -227,8 +227,7 @@ function io.save_file_as(filename)
local dir, name = (buffer.filename or ''):match('^(.-[/\\]?)([^/\\]*)$')
if not assert_type(filename, 'string/nil', 1) then
filename = ui.dialogs.filesave{
- title = _L['Save File'], with_directory = dir,
- with_file = name:iconv('UTF-8', _CHARSET),
+ title = _L['Save File'], with_directory = dir, with_file = name,
width = CURSES and ui.size[1] - 2 or nil
}
if not filename then return end