Module: wine Branch: master Commit: 0ec9d398a57351b65806b6975dab2cd79523d328 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ec9d398a57351b65806b6975d...
Author: Vincent Povirk vincent@codeweavers.com Date: Tue Jun 28 13:53:41 2011 -0500
gdiplus: Fix the order of arguments to expectf in test_string_functions.
---
dlls/gdiplus/tests/graphics.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 49f6815..64472f4 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -3087,7 +3087,7 @@ static void test_string_functions(void) identity, &rc); todo_wine expect(Ok, status);
- expectf(rc.X, 0.0); + expectf(0.0, rc.X); todo_wine ok(rc.Y < 0.0, "unexpected Y %0.2f\n", rc.Y); todo_wine ok(rc.Width > 0.0, "unexpected Width %0.2f\n", rc.Width); todo_wine ok(rc.Height > 0.0, "unexpected Y %0.2f\n", rc.Y); @@ -3104,10 +3104,10 @@ static void test_string_functions(void) identity, &rc); todo_wine expect(Ok, status);
- expectf(rc.X, 0.0); + expectf(0.0, rc.X); todo_wine ok(rc.Y < 0.0, "unexpected Y %0.2f\n", rc.Y); todo_wine ok(rc.Width < char_width, "got Width %0.2f, expecting less than %0.2f\n", rc.Width, char_width); - expectf(rc.Height, char_height); + expectf(char_height, rc.Height);
GdipDeleteMatrix(identity); GdipDeleteStringFormat(format);