mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[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 svn path=/trunk/; revision=58377
This commit is contained in:
@@ -1473,6 +1473,7 @@ static void test_createfromwmf(void)
|
||||
stat = GdipCreateMetafileFromWmf(hwmf, TRUE,
|
||||
(WmfPlaceableFileHeader*)wmfimage, (GpMetafile**)&img);
|
||||
expect(Ok, stat);
|
||||
if (stat != Ok) return; // ReactOS
|
||||
|
||||
stat = GdipGetImageBounds(img, &bounds, &unit);
|
||||
expect(Ok, stat);
|
||||
|
||||
Reference in New Issue
Block a user