mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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:
parent
3a2e6d102f
commit
2bab12f092
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue