Author: tkreuzer
Date: Fri Aug 24 20:25:29 2012
New Revision: 57157
URL:
http://svn.reactos.org/svn/reactos?rev=57157&view=rev
Log:
[GDI32_APITEST]
Fix use of uninitialized variables and remove broken test.
See issue #7299 for more details.
Modified:
trunk/rostests/apitests/gdi32/CombineTransform.c
Modified: trunk/rostests/apitests/gdi32/CombineTransform.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32/CombineTra…
==============================================================================
--- trunk/rostests/apitests/gdi32/CombineTransform.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32/CombineTransform.c [iso-8859-1] Fri Aug 24 20:25:29
2012
@@ -54,14 +54,14 @@
BOOL ret;
/* Test NULL paramters */
+ set_xform(&xform1, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
+ set_xform(&xform2, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
SetLastError(ERROR_SUCCESS);
ret = CombineTransform(&xform3, &xform1, NULL);
ok_int(ret, 0);
ret = CombineTransform(&xform3, NULL, &xform2);
ok_int(ret, 0);
ret = CombineTransform(NULL, &xform1, &xform2);
- ok_int(ret, 0);
- ret = CombineTransform(&xform3, &xform1, &xform2);
ok_int(ret, 0);
ok_int(GetLastError(), ERROR_SUCCESS);