[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Add KERNEL32.SetThreadUILanguage() stub
From:       "Dmitry Timoshkov" <dmitry () baikal ! ru>
Date:       2005-07-30 1:37:21
Message-ID: 007d01c594a7$898548f0$ce823bd5 () boss
[Download RAW message or body]

"Andreas Mohr" <andi@rhlx01.fht-esslingen.de> wrote:

> +LANGID WINAPI SetThreadUILanguage(WORD wReserved)
> +{
> +  FIXME("SetThreadUILanguage(0x%04x), semi-stub! (defaulting to english)\n", wReserved);
> + return MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT);
> +}

Why are you returning english here? Wine should display UI according
to current user locale, so GetUserDefaultUILanguage() would be more
appropriate here.

-- 
Dmitry.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic