2009/12/11 Alistair Leslie-Hughes <leslie_alist...@hotmail.com>:
> Hi,
>
>
> Changelog:
>        shdocvw: Fix test for non-english IE MUI
>
> Best Regards
>  Alistair Leslie-Hughes
>
>
>
>
Hi Alistair,

-    ok(!strcmp_wa(sName, "Microsoft Web Browser Control"), "got '%s',
expected 'Microsoft Web Browser Control'\n", wine_dbgstr_w(sName));
+    if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) == LANG_ENGLISH)
+        ok(!strcmp_wa(sName, "Microsoft Web Browser Control"), "got
'%s', expected 'Microsoft Web Browser Control'\n",
wine_dbgstr_w(sName));
+    else /* Non-English cannot be blant. */
+        ok(sName!=NULL, "get_Name return a NULL string.\n");

Did you mean blank ?

-- 
Nicolas Le Cam


Reply via email to