aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-08-08 18:50:09 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-08-08 18:50:09 -0400
commit0e034d6337d867bb66f444d503c34f06d4f5a54f (patch)
tree037aa5ccc9883f1829f114d583dde4e6bd82807c /core/gui.lua
parent4fc9456c1046c44445ba5c0da19995ac1ee673b8 (diff)
downloadtextadept-0e034d6337d867bb66f444d503c34f06d4f5a54f.tar.gz
textadept-0e034d6337d867bb66f444d503c34f06d4f5a54f.zip
Fixed bug with theme loading during `reset()`; core/gui.lua
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)