[GDIPLUS_WINETEST] Addendum to r58377. gdiplus:image doesn't crash anymore. CORE...
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 16 Apr 2015 10:53:37 +0000 (10:53 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 16 Apr 2015 10:53:37 +0000 (10:53 +0000)
svn path=/trunk/; revision=67212

rostests/winetests/gdiplus/image.c

index 9aa0b1e..0cf2714 100644 (file)
@@ -1504,7 +1504,6 @@ static void test_createfromwmf(void)
     stat = GdipCreateMetafileFromWmf(hwmf, TRUE,
         (WmfPlaceableFileHeader*)wmfimage, (GpMetafile**)&img);
     expect(Ok, stat);
     stat = GdipCreateMetafileFromWmf(hwmf, TRUE,
         (WmfPlaceableFileHeader*)wmfimage, (GpMetafile**)&img);
     expect(Ok, stat);
-    if (stat != Ok) return; // ReactOS
 
     stat = GdipGetImageBounds(img, &bounds, &unit);
     expect(Ok, stat);
 
     stat = GdipGetImageBounds(img, &bounds, &unit);
     expect(Ok, stat);