shdocvw: Fix test for non-english IE MUI
Paul Vriens
paul.vriens.wine at gmail.com
Tue Dec 8 06:49:15 CST 2009
On 12/08/2009 01:29 PM, Alistair Leslie-Hughes wrote:
> Hi Jacek,
>
>> You don't need to delete the whole test. You can check for the system
>> language and do the compare only if it's English.
>>
> Is there an example that already does this?
>
> Just use function GetUILanguageInfo or similar?
>
> Best Regards
> Alistair Leslie-Hughes
>
>
>
Something like (advapi32/test/security.c):
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
{
skip("Non-english locale (test with hardcoded 'Everyone')\n");
}
--
Cheers,
Paul.
More information about the wine-devel
mailing list