Vincent Povirk : gdiplus/tests: Reject gdiplus versions greater than 2.

Alexandre Julliard julliard at winehq.org
Tue Sep 22 13:54:54 CDT 2009


Module: wine
Branch: master
Commit: ed059e117516642dc03e67acb1c178bc7ae9a47d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ed059e117516642dc03e67acb1c178bc7ae9a47d

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Sep 18 15:52:01 2009 -0500

gdiplus/tests: Reject gdiplus versions greater than 2.

---

 dlls/gdiplus/tests/pen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/tests/pen.c b/dlls/gdiplus/tests/pen.c
index 707bafc..0bdf280 100644
--- a/dlls/gdiplus/tests/pen.c
+++ b/dlls/gdiplus/tests/pen.c
@@ -53,7 +53,7 @@ static void test_startup(void)
         }
     }
 
-    ok(gpversion > 0 && gpversion < 42, "unexpected gdiplus version %i\n", gpversion);
+    ok(gpversion > 0 && gpversion <= 2, "unexpected gdiplus version %i\n", gpversion);
     trace("gdiplus version is %i\n", gpversion);
 
     status = GdipCreatePen1((ARGB)0xffff00ff, 10.0f, UnitPixel, &pen);




More information about the wine-cvs mailing list