summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-09-29 21:53:51 (GMT)
committerhobbs <hobbs@noemail.net>2000-09-29 21:53:51 (GMT)
commit71a4fd93671fa154cc0ad71871bb1595151fef36 (patch)
tree293deaa673592cc42c0707a16cfcc369625c60ff /win/tclWinSerial.c
parent9147ee30a52639625c825f523175d5972f3d9e4e (diff)
downloadtcl-71a4fd93671fa154cc0ad71871bb1595151fef36.zip
tcl-71a4fd93671fa154cc0ad71871bb1595151fef36.tar.gz
tcl-71a4fd93671fa154cc0ad71871bb1595151fef36.tar.bz2
* win/tclWinSerial.c (SerialGetOptionProc): corrected reporting of
space parity on Windows (Eason) [Bug 6057]. FossilOrigin-Name: 1b148872263ddb3427a853fcbab585f65ffb7605
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index da07df1..c9bbefc 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -10,7 +10,7 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
* Changes by Rolf.Schroedter@dlr.de June 25-27, 1999
*
- * RCS: @(#) $Id: tclWinSerial.c,v 1.11 2000/09/28 06:38:23 hobbs Exp $
+ * RCS: @(#) $Id: tclWinSerial.c,v 1.12 2000/09/29 21:53:51 hobbs Exp $
*/
#include "tclWinInt.h"
@@ -1157,7 +1157,7 @@ SerialGetOptionProc(instanceData, interp, optionName, dsPtr)
char buf[2 * TCL_INTEGER_SPACE + 16];
parity = 'n';
- if (dcb.Parity < 4) {
+ if (dcb.Parity <= 4) {
parity = "noems"[dcb.Parity];
}