[PATCH] mshtml/tests: Fix text in ok()

Detlef Riekenberg wine.dev at web.de
Wed Feb 25 15:59:00 CST 2009


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

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index b9cc872..c39f79f 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -4142,8 +4142,8 @@ static void test_elems(IHTMLDocument2 *doc)
 
     str = a2bstr("img");
     hres = IHTMLDocument3_getElementsByTagName(doc3, str, &col);
+    ok(hres == S_OK, "getElementsByTagName(%s) failed: %08x\n", dbgstr_w(str), hres);
     SysFreeString(str);
-    ok(hres == S_OK, "getElementByTag(%s) failed: %08x\n", dbgstr_w(ifrW), hres);
     if(hres == S_OK)
     {
         static const elem_type_t img_types[] = { ET_IMG };
-- 
1.5.4.3


--=-2U288+4DLiwS5glZYb38--




More information about the wine-patches mailing list