From 3aa3f9f30142ea40dc20cb0aba462fdc5ac0da64 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 14 Oct 2010 21:09:46 -0400 Subject: Code formatting changes. --- core/gui.lua | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'core/gui.lua') diff --git a/core/gui.lua b/core/gui.lua index fabd7ec2..b18b7afd 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -59,14 +59,13 @@ function gui.switch_buffer() items[#items + 1] = dirty..filename:match('[^/\\]+$') items[#items + 1] = filename end - local response = - gui.dialog('filteredlist', - '--title', locale.SWITCH_BUFFERS, - '--button1', 'gtk-ok', - '--button2', 'gtk-cancel', - '--no-newline', - '--columns', 'Name', 'File', - '--items', items) + local response = gui.dialog('filteredlist', + '--title', locale.SWITCH_BUFFERS, + '--button1', 'gtk-ok', + '--button2', 'gtk-cancel', + '--no-newline', + '--columns', 'Name', 'File', + '--items', items) local ok, i = response:match('(%-?%d+)\n(%d+)$') if ok and ok ~= '2' then view:goto_buffer(tonumber(i) + 1, true) end end -- cgit v1.2.3