mshtml/tests: Fix events test when pointer is on a corner.

Nicolas Le Cam niko.lecam at gmail.com
Thu Oct 29 13:38:58 CDT 2009


Hi,

Since commit 8272ecd3f2235b923f2ec67bb51d051bdfbf466f I'm having
errors on events tests.

I just found that it only fails if pointer is on any corner. As I'm
always putting it on upper right corner when running winetest it was
always failing for me.

Minimizing the test window fixed it for me.
Tested on Win2k SP4 and WinXP SP2 (both with IE6).

-- 
Nicolas Le Cam
-------------- next part --------------
From bd5b09502fb015eedcc323355bc6e615ba96ddda Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Tue, 27 Oct 2009 19:05:47 +0100
Subject: mshtml/tests: Fix events test when pointer is on a corner.

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

diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 9d23775..ebff925 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -1608,7 +1608,7 @@ static HWND create_container_window(void)
 
     RegisterClassExA(&wndclass);
     return CreateWindowA(szHTMLDocumentTest, szHTMLDocumentTest,
-            WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
+            WS_OVERLAPPEDWINDOW | WS_ICONIC, CW_USEDEFAULT, CW_USEDEFAULT,
             300, 300, NULL, NULL, NULL, NULL);
 }
 
-- 
1.6.3.3


More information about the wine-patches mailing list