Commit 9de1d861 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

gdiplus: Fix parameter order in expect() calls.

parent 527cae47
...@@ -432,14 +432,14 @@ static void test_SavingImages(void) ...@@ -432,14 +432,14 @@ static void test_SavingImages(void)
if (stat != Ok) goto cleanup; if (stat != Ok) goto cleanup;
stat = GdipSaveImageToFile((GpImage*)bm, filename, &codecs[0].Clsid, 0); stat = GdipSaveImageToFile((GpImage*)bm, filename, &codecs[0].Clsid, 0);
expect(stat, Ok); expect(Ok, stat);
GdipDisposeImage((GpImage*)bm); GdipDisposeImage((GpImage*)bm);
bm = 0; bm = 0;
/* re-load and check image stats */ /* re-load and check image stats */
stat = GdipLoadImageFromFile(filename, (GpImage**)&bm); stat = GdipLoadImageFromFile(filename, (GpImage**)&bm);
expect(stat, Ok); expect(Ok, stat);
if (stat != Ok) goto cleanup; if (stat != Ok) goto cleanup;
stat = GdipGetImageDimension((GpImage*)bm, &w, &h); stat = GdipGetImageDimension((GpImage*)bm, &w, &h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment