CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/24 06:45:29

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: replace_shapes1test.c 
                                 replace_sprites1test.c 

Log message:
                * testsuite/misc-ming.all/: replace_shapes1test.c,
                  replace_sprites1test.c: SWFMovie_replace returns 0 on success
                  and non-0 on failure. Fixed code to reflect that (I'm not sure
                  I like this interface, anyway this is what we have in current
                  Ming head).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3327&r2=1.3328
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_shapes1test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_sprites1test.c?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3327
retrieving revision 1.3328
diff -u -b -r1.3327 -r1.3328
--- ChangeLog   23 May 2007 21:55:05 -0000      1.3327
+++ ChangeLog   24 May 2007 06:45:29 -0000      1.3328
@@ -1,3 +1,11 @@
+2007-05-24 Sandro Santilli <[EMAIL PROTECTED]>
+
+       * testsuite/misc-ming.all/: replace_shapes1test.c,
+         replace_sprites1test.c: SWFMovie_replace returns 0 on success
+         and non-0 on failure. Fixed code to reflect that (I'm not sure
+         I like this interface, anyway this is what we have in current
+         Ming head).
+
 2007-05-23 Sandro Santilli <[EMAIL PROTECTED]>
 
        * server/swf/: tag_loaders.cpp, DefineFontAlignZonesTag.{cpp,h},

Index: testsuite/misc-ming.all/replace_shapes1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_shapes1test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/replace_shapes1test.c       23 May 2007 17:46:12 
-0000      1.3
+++ testsuite/misc-ming.all/replace_shapes1test.c       24 May 2007 06:45:29 
-0000      1.4
@@ -158,7 +158,7 @@
   SWFMovie_nextFrame(mo); 
 
   // Frame 3: replace instance at depth -16381 with character 2
-  if ( ! SWFMovie_replace(mo, it1, (SWFBlock)static2) )
+  if ( SWFMovie_replace(mo, it1, (SWFBlock)static2) )
   {
          abort(); // grace and beauty...
   }

Index: testsuite/misc-ming.all/replace_sprites1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_sprites1test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/replace_sprites1test.c      23 May 2007 18:00:52 
-0000      1.4
+++ testsuite/misc-ming.all/replace_sprites1test.c      24 May 2007 06:45:29 
-0000      1.5
@@ -158,7 +158,7 @@
   SWFMovie_nextFrame(mo); 
 
   // Frame 3: replace instance at depth -16381 with character 2
-  if ( ! SWFMovie_replace(mo, it1, (SWFBlock)static2) )
+  if ( SWFMovie_replace(mo, it1, (SWFBlock)static2) )
   {
          abort(); // grace and beauty...
   }


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to