From 0e034d6337d867bb66f444d503c34f06d4f5a54f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 8 Aug 2013 18:50:09 -0400 Subject: Fixed bug with theme loading during `reset()`; core/gui.lua --- core/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gui.lua b/core/gui.lua index feb61734..a5c3b3c2 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -180,7 +180,7 @@ function gui.set_theme(name, ...) package.searchpath(name, _USERHOME..'/themes/?.lua;'.. _HOME..'/themes/?.lua') if not name or not lfs.attributes(name) then return end - local buffer, props = buffer, {...} + local props = {...} local current_buffer, current_view = _BUFFERS[buffer], _VIEWS[view] for i = 1, #_BUFFERS do view:goto_buffer(i) -- cgit v1.2.3