Detlef Riekenberg : gdi32/tests: Fix tests to not depend on 96 dpi.
Module: wine Branch: master Commit: 57a5a60ca36e51509cdcc181bdb3b039204d65b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=57a5a60ca36e51509cdcc181bd... Author: Detlef Riekenberg <wine.dev(a)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
participants (1)
-
Alexandre Julliard