From 4158581b2145772708167d1dbda1f4d1c995af48 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 3 Mar 2014 13:46:46 -0500 Subject: [PATCH] fix error logging in lua key events --- src/lua/LegacyLuaAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/LegacyLuaAPI.cpp b/src/lua/LegacyLuaAPI.cpp index eefa1f648..0543381fb 100644 --- a/src/lua/LegacyLuaAPI.cpp +++ b/src/lua/LegacyLuaAPI.cpp @@ -523,8 +523,8 @@ int luacon_keyevent(int key, int modifier, int event) c--; i--; } - lua_pop(l, 1); luacon_ci->Log(CommandInterface::LogError, luacon_geterror()); + lua_pop(l, 1); } else {