gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server character.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server character.cpp
Date: Tue, 08 Apr 2008 18:23:19 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/08 18:23:19

Modified files:
        server         : character.cpp 

Log message:
        more info in unimplemented messages

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.cpp?cvsroot=gnash&r1=1.86&r2=1.87

Patches:
Index: character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/character.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- character.cpp       4 Apr 2008 10:51:54 -0000       1.86
+++ character.cpp       8 Apr 2008 18:23:18 -0000       1.87
@@ -440,14 +440,16 @@
        {
                if ( ! bounds.isFinite() )
                {
-                       log_unimpl(_("FIXME: can't set _width on character with 
null or world bounds"));
+                       log_unimpl(_("FIXME: can't set _width on character %s 
(%s) with null or world bounds"),
+                               ptr->getTarget(), typeName(*ptr));
                        return rv;
                }
 
                double oldwidth = bounds.width();
                if ( oldwidth <= 0 )
                {
-                       log_unimpl(_("FIXME: can't set _height on character 
with width %d"), oldwidth);
+                       log_unimpl(_("FIXME: can't set _width on character %s 
(%s) with width %d"),
+                               ptr->getTarget(), typeName(*ptr), oldwidth);
                        return rv;
                }
 
@@ -455,7 +457,8 @@
                if ( newwidth <= 0 )
                {
                        IF_VERBOSE_ASCODING_ERRORS(
-                       log_aserror(_("Setting _width=%g of character %s 
(%s)"), newwidth/20, ptr->getTarget().c_str(), typeName(*ptr).c_str());
+                       log_aserror(_("Setting _width=%g of character %s (%s)"),
+                               newwidth/20, ptr->getTarget(), typeName(*ptr));
                        );
                }
 
@@ -489,14 +492,16 @@
        {
                if ( ! bounds.isFinite() )
                {
-                       log_unimpl(_("FIXME: can't set _height on character 
with null or world bounds"));
+                       log_unimpl(_("FIXME: can't set _height on character %s 
(%s) with null or world bounds"),
+                               ptr->getTarget(), typeName(*ptr));
                        return rv;
                }
 
                double oldheight = bounds.height();
                if ( oldheight <= 0 )
                {
-                       log_unimpl(_("FIXME: can't set _height on character 
with height %d"), oldheight);
+                       log_unimpl(_("FIXME: can't set _height on character %s 
(%s) with height %d"),
+                               ptr->getTarget(), typeName(*ptr), oldheight);
                        return rv;
                }
 




reply via email to

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