From 40a2c21bd463914eec1e9bb44f67b8d4665aaef7 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 29 May 2007 14:27:52 +0000 Subject: Fixing deadly bug - can't pushdestruct a static object. --- lib/LuaConfigFile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/LuaConfigFile.cc b/lib/LuaConfigFile.cc index 7089f51..b8081c4 100644 --- a/lib/LuaConfigFile.cc +++ b/lib/LuaConfigFile.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaConfigFile.cc,v 1.3 2007-05-25 09:59:22 pixel Exp $ */ +/* $Id: LuaConfigFile.cc,v 1.4 2007-05-29 14:27:52 pixel Exp $ */ #include "LuaConfigFile.h" @@ -87,7 +87,7 @@ int sLua_ConfigFile::ConfigFile_proceed(Lua * L, int n, ConfigFile * c, int call i = L->tostring(2); { LuaConfigSectionContents csc(&((*c)[i])); - csc.pushdestruct(L); + csc.push(L); } break; case CONFIGFILE_NEWINDEX: -- cgit v1.2.3