From d45fbcb10f2cd5561f08502b02a8f0480189676d Mon Sep 17 00:00:00 2001 From: BenDol Date: Wed, 2 Apr 2014 20:50:36 +1300 Subject: [PATCH] Fixed terminal size bug --- modules/client_terminal/terminal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client_terminal/terminal.lua b/modules/client_terminal/terminal.lua index 6022fd6c..e0666911 100644 --- a/modules/client_terminal/terminal.lua +++ b/modules/client_terminal/terminal.lua @@ -224,7 +224,7 @@ function toggle() if not firstShown then local settings = g_settings.getNode('terminal-window') if settings then - if settings.size then oldSize = size end + if settings.size then oldSize = settings.size end if settings.pos then oldPos = settings.pos end if settings.poped then popWindow() end end