kernel32: Fix a misprint

Alexander Morozov amorozov at etersoft.ru
Tue Aug 19 08:42:15 CDT 2008


Changelog:
kernel32: Fix a misprint
-------------- next part --------------
From 74aa09ebc9c520b8446c9523a37f2f7f16822644 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Thu, 14 Aug 2008 15:05:40 +0400
Subject: [PATCH] kernel32: Fix a misprint

---
 dlls/kernel32/comm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c
index 9eeed3d..d83eacb 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;
-- 
1.5.4.5.GIT



More information about the wine-patches mailing list