aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/gui.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua2
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)