gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server/asobj string.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server/asobj string.cpp
Date: Wed, 28 Feb 2007 09:59:55 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/02/28 09:59:55

Modified files:
        server/asobj   : string.cpp 

Log message:
        use log_aserror for AS errors

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/string.cpp?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: string.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/string.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- string.cpp  27 Feb 2007 23:03:02 -0000      1.16
+++ string.cpp  28 Feb 2007 09:59:54 -0000      1.17
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: string.cpp,v 1.16 2007/02/27 23:03:02 martinwguy Exp $ */
+/* $Id: string.cpp,v 1.17 2007/02/28 09:59:54 strk Exp $ */
 
 // Implementation of ActionScript String class.
 
@@ -125,7 +125,7 @@
 string_set_length(const fn_call& /*fn*/)
 {
        IF_VERBOSE_ASCODING_ERRORS(
-               log_msg("String: length property is read-only");
+       log_aserror("String: length property is read-only");
        );
        return;
 }
@@ -179,7 +179,7 @@
        
        if (end < start) {
                IF_VERBOSE_ASCODING_ERRORS(
-                       log_error("string.slice() called with end < start");
+                       log_aserror("string.slice() called with end < start");
                )
                // Swap start and end, cos that's what substr does
                swap(&start, &end);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]