gdiplus: Fix parameter order in expect() calls.

This commit is contained in:
Dmitry Timoshkov 2012-06-19 16:51:34 +09:00 committed by Alexandre Julliard
parent 527cae47e3
commit 9de1d86132
1 changed files with 2 additions and 2 deletions

View File

@ -432,14 +432,14 @@ static void test_SavingImages(void)
if (stat != Ok) goto cleanup;
stat = GdipSaveImageToFile((GpImage*)bm, filename, &codecs[0].Clsid, 0);
expect(stat, Ok);
expect(Ok, stat);
GdipDisposeImage((GpImage*)bm);
bm = 0;
/* re-load and check image stats */
stat = GdipLoadImageFromFile(filename, (GpImage**)&bm);
expect(stat, Ok);
expect(Ok, stat);
if (stat != Ok) goto cleanup;
stat = GdipGetImageDimension((GpImage*)bm, &w, &h);