From 0407ac7fb3103b7c162575d204c1147ab0ffac10 Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Tue, 23 Sep 2008 16:29:11 +0000
Subject: Compiler bitching fix.

---
 lib/BLua.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'lib')

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;
             }
         }
-- 
cgit v1.2.3