Author: gschneider
Date: Sun Aug 9 21:30:35 2009
New Revision: 42571
URL:
http://svn.reactos.org/svn/reactos?rev=42571&view=rev
Log:
Revert r42536 for build server diagnosis
Modified:
trunk/reactos/dll/win32/kernel32/misc/commdcb.c
Modified: trunk/reactos/dll/win32/kernel32/misc/commdcb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/co…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/commdcb.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/commdcb.c [iso-8859-1] Sun Aug 9 21:30:35 2009
@@ -627,7 +627,7 @@
DWORD dwErr;
dwErr = ERROR_INVALID_PARAMETER;
- cchAscii = WideCharToMultiByte(CP_ACP, 0, lpDef, -1, NULL, 0, NULL, NULL);
+ cchAscii = WideCharToMultiByte(20127, 0, lpDef, -1, NULL, 0, NULL, NULL);
bRet = cchAscii > 0;
@@ -641,7 +641,7 @@
if(bRet)
{
bInvalidChars = FALSE;
- cchAscii = WideCharToMultiByte(CP_ACP, 0, lpDef, -1, pszAscii, cchAscii, NULL,
&bInvalidChars);
+ cchAscii = WideCharToMultiByte(20127, 0, lpDef, -1, pszAscii, cchAscii, NULL,
&bInvalidChars);
bRet = cchAscii > 0 && !bInvalidChars;