mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Revert r42536 for build server diagnosis
svn path=/trunk/; revision=42571
This commit is contained in:
parent
f2a7907cb7
commit
17db8cf603
1 changed files with 2 additions and 2 deletions
|
@ -627,7 +627,7 @@ DCB_BuildCommDCBAndTimeoutsW(LPCWSTR lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS lpCommTi
|
|||
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 @@ DCB_BuildCommDCBAndTimeoutsW(LPCWSTR lpDef, LPDCB lpDCB, LPCOMMTIMEOUTS lpCommTi
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue