Jacek Caban : mshtml: Pump messages of all windows in test_download.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 11 08:46:38 CDT 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Jun 10 11:41:25 2007 +0200

mshtml: Pump messages of all windows in test_download.

We have to pump Gecko windows' messages to correctly support loading documents.

---

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

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 9033c55..792074d 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -2291,7 +2291,7 @@ static void test_download(BOOL verb_done, BOOL css_dwl)
     SET_EXPECT(Exec_HTTPEQUIV_DONE);
     expect_status_text = (LPWSTR)0xdeadbeef; /* TODO */
 
-    while(!called_Exec_HTTPEQUIV_DONE && GetMessage(&msg, hwnd, 0, 0)) {
+    while(!called_Exec_HTTPEQUIV_DONE && GetMessage(&msg, NULL, 0, 0)) {
         TranslateMessage(&msg);
         DispatchMessage(&msg);
     }




More information about the wine-cvs mailing list