From 6d94aa471c6f8eca331bf9618d93c25a8ca44f38 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sat, 27 Aug 2005 09:19:52 +0000 Subject: [PATCH] Make pActiveObject test language specific. --- dlls/mshtml/tests/htmldoc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 84a02626c7b..7ee8d74b64b 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -197,7 +197,8 @@ static HRESULT WINAPI InPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface, if(expect_SetActiveObject_active) { ok(pActiveObject != NULL, "pActiveObject = NULL\n"); - ok(!lstrcmpW(wszHTML_Document, pszObjName), "pszObjName != \"HTML Document\"\n"); + if(pActiveObject && PRIMARYLANGID(GetSystemDefaultLangID()) == LANG_ENGLISH) + ok(!lstrcmpW(wszHTML_Document, pszObjName), "pszObjName != \"HTML Document\"\n"); }else { ok(pActiveObject == NULL, "pActiveObject=%p, expected NULL\n", pActiveObject); ok(pszObjName == NULL, "pszObjName=%p, expected NULL\n", pszObjName);