Detlef Riekenberg : gdi32/tests: Fix tests to not depend on 96 dpi.

Alexandre Julliard julliard at winehq.org
Tue Oct 14 08:29:59 CDT 2008


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Tue Oct 14 01:01:51 2008 +0200

gdi32/tests: Fix tests to not depend on 96 dpi.

---

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

diff --git a/dlls/gdi32/tests/mapping.c b/dlls/gdi32/tests/mapping.c
index 210f783..7e85ca9 100644
--- a/dlls/gdi32/tests/mapping.c
+++ b/dlls/gdi32/tests/mapping.c
@@ -101,7 +101,7 @@ static void test_world_transform(void)
 
     if (is_win9x)
     {
-        expect_viewport_ext(hdc, 96, 96);
+        expect_viewport_ext(hdc, GetDeviceCaps(hdc, LOGPIXELSX), GetDeviceCaps(hdc, LOGPIXELSY));
         expect_window_ext(hdc, 254, -254);
     }
     else




More information about the wine-cvs mailing list