diff options
author | 2013-08-08 18:50:09 -0400 | |
---|---|---|
committer | 2013-08-08 18:50:09 -0400 | |
commit | 0e034d6337d867bb66f444d503c34f06d4f5a54f (patch) | |
tree | 037aa5ccc9883f1829f114d583dde4e6bd82807c | |
parent | 4fc9456c1046c44445ba5c0da19995ac1ee673b8 (diff) |
Fixed bug with theme loading during `reset()`; core/gui.lua
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |