kernel32: Fix a typo.

This commit is contained in:
Alexander Morozov 2008-08-14 15:05:40 +04:00 committed by Alexandre Julliard
parent 395a4e50ed
commit ea1e7555a9
1 changed files with 1 additions and 1 deletions

View File

@ -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;