[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/matrix_...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/matrix_... |
Date: |
Mon, 28 May 2007 12:43:28 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/05/28 12:43:28
Modified files:
. : ChangeLog
testsuite/misc-ming.all: matrix_test.c
Log message:
* testsuite/misc-ming.all/matrix_test.c: Really round numbers,
don't
just truncate them up to 2nd decimal position.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3377&r2=1.3378
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/matrix_test.c?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3377
retrieving revision 1.3378
diff -u -b -r1.3377 -r1.3378
--- ChangeLog 28 May 2007 09:35:33 -0000 1.3377
+++ ChangeLog 28 May 2007 12:43:27 -0000 1.3378
@@ -1,3 +1,8 @@
+2007-05-28 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-ming.all/matrix_test.c: Really round numbers, don't
+ just truncate them up to 2nd decimal position.
+
2007-05-28 Zou Lunkai <address@hidden>
* testsuite/misc-ming.all: Makefile.am, key_event_test2.c,
Index: testsuite/misc-ming.all/matrix_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/matrix_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/matrix_test.c 28 May 2007 08:56:52 -0000
1.6
+++ testsuite/misc-ming.all/matrix_test.c 28 May 2007 12:43:28 -0000
1.7
@@ -90,7 +90,7 @@
dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10,
0, 0, 800, 600);
SWFMovie_add(mo, (SWFBlock)dejagnuclip);
- add_actions(mo, "printBounds = function(b) { return
''+parseInt(b.xMin*100)/100+','+parseInt(b.yMin*100)/100+'
'+parseInt(b.xMax*100)/100+','+parseInt(b.yMax*100)/100; };");
+ add_actions(mo, "printBounds = function(b) { return
''+Math.round(b.xMin*100)/100+','+Math.round(b.yMin*100)/100+'
'+Math.round(b.xMax*100)/100+','+Math.round(b.yMax*100)/100; };");
SWFMovie_nextFrame(mo);