mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +02:00
* workaround for bug in GetThreadLocale on some W7, resolves #18574
git-svn-id: trunk@17331 -
This commit is contained in:
parent
953560eeaa
commit
6b4f13c1d7
@ -824,6 +824,8 @@ var
|
||||
DefaultCustomLocaleID : LCID; // typedef DWORD LCID;
|
||||
DefaultCustomLanguageID : Word; // typedef WORD LANGID;
|
||||
begin
|
||||
/// workaround for Windows 7 bug, see bug report #18574
|
||||
SetThreadLocale(GetUserDefaultLCID);
|
||||
InitInternationalGeneric;
|
||||
old8087CW:=Get8087CW;
|
||||
SysLocale.MBCS:=GetSystemMetrics(SM_DBCSENABLED)<>0;
|
||||
|
Loading…
Reference in New Issue
Block a user