Author: gschneider
Date: Tue Aug 11 17:03:41 2009
New Revision: 42621
URL:
http://svn.reactos.org/svn/reactos?rev=42621&view=rev
Log:
Re-add r42536, it didn't break the build server
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] Tue Aug 11 17:03:41 2009
@@ -627,7 +627,7 @@
DWORD dwErr;
dwErr = ERROR_INVALID_PARAMETER;
- cchAscii = WideCharToMultiByte(20127, 0, lpDef, -1, NULL, 0, NULL, NULL);
+ cchAscii = WideCharToMultiByte(CP_ACP, 0, lpDef, -1, NULL, 0, NULL, NULL);
bRet = cchAscii > 0;
@@ -641,7 +641,7 @@
if(bRet)
{
bInvalidChars = FALSE;
- cchAscii = WideCharToMultiByte(20127, 0, lpDef, -1, pszAscii, cchAscii, NULL,
&bInvalidChars);
+ cchAscii = WideCharToMultiByte(CP_ACP, 0, lpDef, -1, pszAscii, cchAscii, NULL,
&bInvalidChars);
bRet = cchAscii > 0 && !bInvalidChars;