kernel32: Fix a typo.
This commit is contained in:
parent
395a4e50ed
commit
ea1e7555a9
|
@ -824,7 +824,7 @@ BOOL WINAPI SetCommState( HANDLE handle, LPDCB lpdcb)
|
||||||
SetLastError(ERROR_INVALID_PARAMETER);
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
switch (lpdcb->fDtrControl)
|
switch (lpdcb->fRtsControl)
|
||||||
{
|
{
|
||||||
case RTS_CONTROL_DISABLE: break;
|
case RTS_CONTROL_DISABLE: break;
|
||||||
case RTS_CONTROL_ENABLE: shf.FlowReplace |= SERIAL_RTS_CONTROL; break;
|
case RTS_CONTROL_ENABLE: shf.FlowReplace |= SERIAL_RTS_CONTROL; break;
|
||||||
|
|
Loading…
Reference in New Issue