Author: tkreuzer
Date: Thu Feb 28 09:38:08 2013
New Revision: 58377
URL:
http://svn.reactos.org/svn/reactos?rev=58377&view=rev
Log:
[GDIPLUS_WINETEST]
CORE-6969 Adding a check to skip a test after failure instead of continuing with
uninitialized memory. "Fixes" a crash when compiled with GCC 4.7.2
Modified:
trunk/rostests/winetests/gdiplus/image.c
Modified: trunk/rostests/winetests/gdiplus/image.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdiplus/image.c…
==============================================================================
--- trunk/rostests/winetests/gdiplus/image.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/gdiplus/image.c [iso-8859-1] Thu Feb 28 09:38:08 2013
@@ -1473,6 +1473,7 @@
stat = GdipCreateMetafileFromWmf(hwmf, TRUE,
(WmfPlaceableFileHeader*)wmfimage, (GpMetafile**)&img);
expect(Ok, stat);
+ if (stat != Ok) return; // ReactOS
stat = GdipGetImageBounds(img, &bounds, &unit);
expect(Ok, stat);