shdocvw: Fix testfailure on some NT4 machines
André Hentschel
nerv at dawncrow.de
Sun Dec 12 15:28:12 CST 2010
---
dlls/shdocvw/tests/shdocvw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shdocvw/tests/shdocvw.c b/dlls/shdocvw/tests/shdocvw.c
index 17ea8d0..551435a 100644
--- a/dlls/shdocvw/tests/shdocvw.c
+++ b/dlls/shdocvw/tests/shdocvw.c
@@ -186,7 +186,7 @@ static void test_URLSubRegQueryA(void)
buffer[sizeof(buffer)-1] = '\0';
hr = pURLSubRegQueryA(regpath_shellfolders, common_appdata, REG_SZ, buffer, INTERNET_MAX_URL_LENGTH, -1);
used = lstrlenA(buffer);
- ok(hr == S_OK, "got 0x%x and %d (expected S_OK)\n", hr, used);
+ ok(hr == S_OK || broken(hr == E_FAIL), "got 0x%x and %d (expected S_OK)\n", hr, used);
/* todo: what does the last parameter mean? */
}
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list