gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server edit_text_character.cpp


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
Date: Thu, 29 May 2008 10:05:00 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/05/29 10:05:00

Modified files:
        server         : edit_text_character.cpp 

Log message:
        Missed from last commit.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.188&r2=1.189

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -b -r1.188 -r1.189
--- edit_text_character.cpp     25 May 2008 10:05:20 -0000      1.188
+++ edit_text_character.cpp     29 May 2008 10:04:59 -0000      1.189
@@ -2138,7 +2138,7 @@
        else // setter
        {
                rgba newColor;
-               newColor.parseRGB( fn.arg(0).to_number<boost::uint32_t>() );
+               newColor.parseRGB( 
static_cast<boost::uint32_t>(fn.arg(0).to_number()) );
                ptr->setBackgroundColor(newColor);
        }
 
@@ -2157,7 +2157,7 @@
        else // setter
        {
                rgba newColor;
-               newColor.parseRGB( fn.arg(0).to_number<boost::uint32_t>() );
+               newColor.parseRGB( 
static_cast<boost::uint32_t>(fn.arg(0).to_number()) );
                ptr->setBorderColor(newColor);
        }
 
@@ -2176,7 +2176,7 @@
        else // setter
        {
                rgba newColor;
-               newColor.parseRGB( fn.arg(0).to_number<boost::uint32_t>() );
+               newColor.parseRGB( 
static_cast<boost::uint32_t>(fn.arg(0).to_number()) );
                ptr->setTextColor(newColor);
        }
 




reply via email to

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