CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/12 14:48:16

Modified files:
        server         : as_value.cpp 

Log message:
        Hush equality operator when comparing a primitive and a movieclip

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.104&r2=1.105

Patches:
Index: as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- as_value.cpp        12 Dec 2007 14:24:16 -0000      1.104
+++ as_value.cpp        12 Dec 2007 14:48:16 -0000      1.105
@@ -904,11 +904,14 @@
 
     }
 
+
+#ifdef GNASH_DEBUG_EQUALITY
        // Both operands are objects (OBJECT,AS_FUNCTION,MOVIECLIP)
        if ( ! is_object() || ! v.is_object() )
        {
-               log_error("Equals(%s,%s)", to_debug_string().c_str(), 
v.to_debug_string().c_str());
+               log_debug("Equals(%s,%s)", to_debug_string().c_str(), 
v.to_debug_string().c_str());
        }
+#endif
 
     // If any of the two converts to a primitive, we recurse
 


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to