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: Sandro Santilli
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
Date: Mon, 23 Jul 2007 04:34:27 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/07/23 04:34:27

Modified files:
        server         : edit_text_character.cpp 

Log message:
        Removed the last two direct accesses to text color in definition

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

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- edit_text_character.cpp     22 Jul 2007 12:47:38 -0000      1.87
+++ edit_text_character.cpp     23 Jul 2007 04:34:26 -0000      1.88
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.87 2007/07/22 12:47:38 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.88 2007/07/23 04:34:26 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -992,7 +992,7 @@
                        // Start a new record on the next line.
                        rec.m_glyphs.resize(0);
                        rec.m_style.m_font = _font;
-                       rec.m_style.m_color = m_def->get_text_color();
+                       rec.m_style.m_color = getTextColor();
                        rec.m_style.m_x_offset = x;
                        rec.m_style.m_y_offset = y;
                        rec.m_style.m_text_height = m_def->get_font_height();
@@ -1153,7 +1153,7 @@
                        // Start a new record on the next line.
                        rec.m_glyphs.resize(0);
                        rec.m_style.m_font = _font;
-                       rec.m_style.m_color = m_def->get_text_color();
+                       rec.m_style.m_color = getTextColor();
                        rec.m_style.m_x_offset = x;
                        rec.m_style.m_y_offset = y;
                        rec.m_style.m_text_height = m_def->get_font_height();




reply via email to

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