Author: hbelusca Date: Sun Oct 25 14:37:33 2015 New Revision: 69698
URL: http://svn.reactos.org/svn/reactos?rev=69698&view=rev Log: [ATL]: Use _AtlGetConversionACP() instead of hadcoded CP_THREAD_ACP value.
Modified: trunk/reactos/lib/atl/cstringt.h
Modified: trunk/reactos/lib/atl/cstringt.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/cstringt.h?rev=6969... ============================================================================== --- trunk/reactos/lib/atl/cstringt.h [iso-8859-1] (original) +++ trunk/reactos/lib/atl/cstringt.h [iso-8859-1] Sun Oct 25 14:37:33 2015 @@ -35,7 +35,7 @@ _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(