aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-11-19 00:28:48 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-11-19 00:28:48 -0500
commit9cdaf41a724dd0d739611c698e92f4421a2fbafc (patch)
treee762a51e4e8e9f9d20ddd2228e81c37bc7e6b920 /core/file_io.lua
parenta5181b448b2d3f2d3db6dd40b40c7471602763a9 (diff)
Changed Lua code style for tables.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r--core/file_io.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index 2582933c..3af44694 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -114,7 +114,7 @@ end
-- [GNU iconv's encodings]: http://www.gnu.org/software/libiconv/
-- @class table
-- @name try_encodings
-io.try_encodings = { 'UTF-8', 'ASCII', 'ISO-8859-1', 'MacRoman' }
+io.try_encodings = {'UTF-8', 'ASCII', 'ISO-8859-1', 'MacRoman'}
---
-- Opens a list of files.
@@ -375,6 +375,6 @@ end)
-- @name open_recent_file
function io.open_recent_file()
local i = gui.filteredlist(_L['Open'], _L['File'], io.recent_files, true,
- NCURSES and { '--width', gui.size[1] - 2 } or '')
+ NCURSES and {'--width', gui.size[1] - 2} or '')
if i then io.open_file(io.recent_files[i + 1]) end
end