Dmitry Timoshkov : gdiplus: Fix parameter order in expect() calls.
Alexandre Julliard
julliard at winehq.org
Tue Jun 19 15:36:27 CDT 2012
Module: wine
Branch: master
Commit: 9de1d861320a3a5796cf31c4fea6c914b40c6e0e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9de1d861320a3a5796cf31c4fea6c914b40c6e0e
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue Jun 19 16:51:34 2012 +0900
gdiplus: Fix parameter order in expect() calls.
---
dlls/gdiplus/tests/image.c | 4 ++--
1 files 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);
More information about the wine-cvs
mailing list