gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server morph2.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server morph2.cpp
Date: Sat, 19 Aug 2006 13:31:20 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/08/19 13:31:20

Modified files:
        server         : morph2.cpp 

Log message:
        more IF_VERBOSE_PARSE wrapping

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/morph2.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: morph2.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/morph2.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- morph2.cpp  28 Jun 2006 23:27:44 -0000      1.13
+++ morph2.cpp  19 Aug 2006 13:31:20 -0000      1.14
@@ -136,15 +136,22 @@
                        fs1.m_type = in->read_u8();
                        fs2.m_type = fs1.m_type;
 
-                       log_parse("morph fill style type = 0x%X\n", fs1.m_type);
+                       IF_VERBOSE_PARSE(
+                         log_parse("morph fill style type = 0x%X",
+                           fs1.m_type);
+                       );
 
                        if (fs1.m_type == 0x00)
                        {
                                fs1.m_color.read_rgba(in);
                                fs2.m_color.read_rgba(in);
 
-                               log_parse("morph fill style begin color: "); 
fs1.m_color.print();
-                               log_parse("morph fill style end color: "); 
fs2.m_color.print();
+                               IF_VERBOSE_PARSE(
+                                 log_parse("morph fill style begin color: ");
+                                 fs1.m_color.print();
+                                 log_parse("morph fill style end color: ");
+                                 fs2.m_color.print();
+                               );
                        }
                        else if (fs1.m_type == 0x10 || fs1.m_type == 0x12)
                        {
@@ -189,7 +196,10 @@
                                        fs2.m_gradients[j].read(in, tag_type);
                                }
 
-                               log_parse("morph fsr: num_gradients = %d\n", 
num_gradients);
+                               IF_VERBOSE_PARSE(
+                                 log_parse("morph fsr: num_gradients = %d",
+                                   num_gradients);
+                               );
 
                                // @@ hack.
                                if (num_gradients > 0)
@@ -202,7 +212,10 @@
                        {
 
                                int     bitmap_char_id = in->read_u16();
-                               log_parse("morph fsr bitmap_char = %d\n", 
bitmap_char_id);
+                               IF_VERBOSE_PARSE(
+                                 log_parse("morph fsr bitmap_char = %d",
+                                   bitmap_char_id);
+                               );
 
                                // Look up the bitmap character.
                                fs1.m_bitmap_character = 
md->get_bitmap_character(bitmap_char_id);




reply via email to

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