diff options
-rw-r--r-- | lib/BLua.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index c96d53d..4642386 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.63 2008-08-20 11:05:40 pixel Exp $ */ +/* $Id: BLua.cc,v 1.64 2008-09-23 16:29:11 pixel Exp $ */ #include <stdlib.h> #include "BLua.h" @@ -925,7 +925,7 @@ void Lua::dumpvars_r(Handle * h, int i, int depth) throw (GeneralException) { while(lua_next(L, i) != 0) { if (lua_type(L, -2) == LUA_TSTRING) { - if (lua_tostring(L, -2) == String("_G")) { + if (String(lua_tostring(L, -2)) == String("_G")) { continue; } } |