Paul Vriens : mshtml/tests: Fix some test failures on Win9x/ WinMe by using a A-function.
Module: wine Branch: master Commit: e014154fb7db071da787aa4e54d5fa9903100769 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e014154fb7db071da787aa4e54... Author: Paul Vriens <Paul.Vriens.Wine(a)gmail.com> Date: Tue Mar 16 10:18:52 2010 +0100 mshtml/tests: Fix some test failures on Win9x/WinMe by using a A-function. --- dlls/mshtml/tests/dom.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 264f9fb..c6f5479 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -3195,8 +3195,6 @@ static void test_screen(IHTMLWindow2 *window) HDC hdc; HRESULT hres; - static const WCHAR displayW[] = {'D','I','S','P','L','A','Y',0}; - screen = NULL; hres = IHTMLWindow2_get_screen(window, &screen); ok(hres == S_OK, "get_screen failed: %08x\n", hres); @@ -3216,7 +3214,7 @@ static void test_screen(IHTMLWindow2 *window) IDispatchEx_Release(dispex); } - hdc = CreateICW(displayW, NULL, NULL, NULL); + hdc = CreateICA("DISPLAY", NULL, NULL, NULL); exl = GetDeviceCaps(hdc, HORZRES); l = 0xdeadbeef;
participants (1)
-
Alexandre Julliard