diff options
author | 2021-04-14 14:53:19 -0400 | |
---|---|---|
committer | 2021-04-14 14:53:19 -0400 | |
commit | 8ff320ad70a5183acc2bd635dfef33a792bd7f5a (patch) | |
tree | b44b3debb1f52857aaafab7f499a978c2686e170 /core/file_io.lua | |
parent | 61f0475bbacbe0d1c1492c5be6510fc144d3926f (diff) | |
download | textadept-8ff320ad70a5183acc2bd635dfef33a792bd7f5a.tar.gz textadept-8ff320ad70a5183acc2bd635dfef33a792bd7f5a.zip |
Addressed some minor Luacheck issues.
Not all shadowing warnings need to be fixed.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 6760c4cd..627403e1 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -319,7 +319,8 @@ function io.open_recent_file() table.remove(io.recent_files, i) end end - local button, i = ui.dialogs.filteredlist{ + local button + button, i = ui.dialogs.filteredlist{ title = _L['Open File'], columns = _L['Filename'], items = utf8_list } if button == 1 and i then io.open_file(io.recent_files[i]) end |