gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/shape.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/shape.cpp
Date: Wed, 07 Nov 2007 08:44:42 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/07 08:44:42

Modified files:
        .              : ChangeLog 
        server         : shape.cpp 

Log message:
                * server/shape.cpp: don't forget to initialize m_new_shape
                  in the overridden constructo !! This fixes uninitialized
                  memory giving unstable results with the nested-squares
                  cases in DrawingApiTest.swf

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4788&r2=1.4789
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shape.cpp?cvsroot=gnash&r1=1.41&r2=1.42

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4788
retrieving revision 1.4789
diff -u -b -r1.4788 -r1.4789
--- ChangeLog   7 Nov 2007 07:14:52 -0000       1.4788
+++ ChangeLog   7 Nov 2007 08:44:41 -0000       1.4789
@@ -1,5 +1,9 @@
 2007-11-07 Sandro Santilli <address@hidden>
 
+       * server/shape.cpp: don't forget to initialize m_new_shape
+         in the overridden constructo !! This fixes uninitialized
+         memory giving unstable results with the nested-squares
+         cases in DrawingApiTest.swf
        * testsuite/libgeometry/snappingrangetest.cpp: don't
          attempt to set snap_distance, not more existent.
          I dunno if this makes the tests pointless (didn't

Index: server/shape.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shape.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- server/shape.cpp    5 Nov 2007 08:06:03 -0000       1.41
+++ server/shape.cpp    7 Nov 2007 08:44:42 -0000       1.42
@@ -131,6 +131,8 @@
 }
 
 path::path(float ax, float ay, int fill0, int fill1, int line)
+    :
+    m_new_shape(false)
 {
     reset(ax, ay, fill0, fill1, line);
 }




reply via email to

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