Module: wine Branch: master Commit: 05c50725db22d15a758cfd7c8152d1d6fdfd61e5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=05c50725db22d15a758cfd7c81...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Thu Apr 23 16:07:25 2009 +0200
gdi32/tests: Fix a test failure on NT4.
---
dlls/gdi32/tests/mapping.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/mapping.c b/dlls/gdi32/tests/mapping.c index ffb92cb..0342817 100644 --- a/dlls/gdi32/tests/mapping.c +++ b/dlls/gdi32/tests/mapping.c @@ -161,7 +161,9 @@ static void test_world_transform(void) xform.eDx = 0.0f; xform.eDy = 0.0f; ret = SetWorldTransform(hdc, &xform); - ok(!ret, "SetWorldTransform should fail with an invalid xform\n"); + ok(!ret || + broken(ret), /* NT4 */ + "SetWorldTransform should fail with an invalid xform\n");
xform.eM11 = 20.0f; xform.eM12 = 0.0f;