diff options
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/gui.lua b/core/gui.lua index e317ecd6..9f49be19 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -61,12 +61,12 @@ function gui.switch_buffer() end local out = gui.dialog('filteredlist', - '--title', locale.SWITCH_BUFFERS, - '--button1', 'gtk-ok', - '--button2', 'gtk-cancel', - '--no-newline', - '--columns', 'Name', 'File', - '--items', unpack(items)) + '--title', locale.SWITCH_BUFFERS, + '--button1', 'gtk-ok', + '--button2', 'gtk-cancel', + '--no-newline', + '--columns', 'Name', 'File', + '--items', unpack(items)) local i = tonumber(out:match('%-?%d+$')) if i and i >= 0 then view:goto_buffer(i + 1, true) end end |