Jacek Caban : mshtml: Fixed tests on IE7.

Alexandre Julliard julliard at winehq.org
Tue Oct 9 13:37:47 CDT 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Oct  7 17:11:58 2007 +0200

mshtml: Fixed tests on IE7.

---

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

diff --git a/dlls/mshtml/tests/misc.c b/dlls/mshtml/tests/misc.c
index 3127841..62c7e37 100644
--- a/dlls/mshtml/tests/misc.c
+++ b/dlls/mshtml/tests/misc.c
@@ -69,7 +69,7 @@ static void test_HTMLLoadOptions(void)
     memset(buf, 0xdd, sizeof(buf));
     hres = IHtmlLoadOptions_QueryOption(loadopts, HTMLLOADOPTION_CODEPAGE, buf, &size);
     ok(hres == E_FAIL, "QueryOption failed: %08x\n", hres);
-    ok(size == sizeof(data), "size = %d\n", size);
+    ok(size == sizeof(data) || !size, "size = %d\n", size);
     ok(buf[0] == 0xdd, "buf changed\n");
 
     data = 100;




More information about the wine-cvs mailing list