Jacek Caban : mshtml: Fixed events tests on IE9.

Alexandre Julliard julliard at winehq.org
Wed Nov 16 12:46:46 CST 2011


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Nov 16 15:26:49 2011 +0100

mshtml: Fixed events tests on IE9.

---

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

diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 1498818..d83a511 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -646,6 +646,7 @@ static void _test_event_obj(unsigned line, const char *type, const xy_test_t *xy
     _test_event_screenx(line, event, -10);
     _test_event_screeny(line, event, -10);
 
+    V_VT(&v) = VT_NULL;
     hres = IHTMLEventObj_get_returnValue(event, &v);
     ok_(__FILE__,line)(hres == S_OK, "get_returnValue failed: %08x\n", hres);
     ok_(__FILE__,line)(V_VT(&v) == VT_EMPTY, "V_VT(returnValue) = %d\n", V_VT(&v));




More information about the wine-cvs mailing list