shdocvw: Fix test for non-english IE MUI (try 2)

Nicolas Le Cam niko.lecam at gmail.com
Fri Dec 11 03:46:33 CST 2009


2009/12/11 Alistair Leslie-Hughes <leslie_alistair at 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



More information about the wine-devel mailing list