[2/5] gdiplus: Fix parameter order in expect() calls.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Jun 19 02:51:34 CDT 2012
---
dlls/gdiplus/tests/image.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index e22d45a..635b633 100644
--- a/dlls/gdiplus/tests/image.c
+++ b/dlls/gdiplus/tests/image.c
@@ -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);
--
1.7.11
More information about the wine-patches
mailing list