From fbc722360864470cfe5fc2afafd148e874f40c71 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 11 Oct 2010 15:11:02 -0400 Subject: gui.dialog() can take tables of strings as arguments. --- core/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/gui.lua') diff --git a/core/gui.lua b/core/gui.lua index 9f49be19..3baba198 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -66,7 +66,7 @@ function gui.switch_buffer() '--button2', 'gtk-cancel', '--no-newline', '--columns', 'Name', 'File', - '--items', unpack(items)) + '--items', items) local i = tonumber(out:match('%-?%d+$')) if i and i >= 0 then view:goto_buffer(i + 1, true) end end -- cgit v1.2.3