From ea1e7555a9712ed94e152085b21ded21dfb5f001 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 14 Aug 2008 15:05:40 +0400 Subject: [PATCH] kernel32: Fix a typo. --- dlls/kernel32/comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c index 9eeed3de2bb..d83eacbaa6c 100644 --- a/dlls/kernel32/comm.c +++ b/dlls/kernel32/comm.c @@ -824,7 +824,7 @@ BOOL WINAPI SetCommState( HANDLE handle, LPDCB lpdcb) SetLastError(ERROR_INVALID_PARAMETER); return FALSE; } - switch (lpdcb->fDtrControl) + switch (lpdcb->fRtsControl) { case RTS_CONTROL_DISABLE: break; case RTS_CONTROL_ENABLE: shf.FlowReplace |= SERIAL_RTS_CONTROL; break;