mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[ATL]: Use _AtlGetConversionACP() instead of hadcoded CP_THREAD_ACP value.
svn path=/trunk/; revision=69698
This commit is contained in:
parent
ebdf8b1700
commit
d6e05da575
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
_In_reads_(nLength) LPCWSTR pszSource,
|
||||
_In_ int nLength) throw()
|
||||
{
|
||||
return ::WideCharToMultiByte(CP_THREAD_ACP, 0, pszSource, nLength, NULL, 0, NULL, NULL);
|
||||
return ::WideCharToMultiByte(_AtlGetConversionACP(), 0, pszSource, nLength, NULL, 0, NULL, NULL);
|
||||
}
|
||||
|
||||
static void __cdecl ConvertToBaseType(
|
||||
|
|
Loading…
Reference in a new issue