diff options
author | hobbs <hobbs> | 2000-09-29 21:53:51 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-09-29 21:53:51 (GMT) |
commit | d8e9b004e4b38c7b0c2f23cf6690d53540f3c168 (patch) | |
tree | 293deaa673592cc42c0707a16cfcc369625c60ff | |
parent | 4d2a64753ddf42181809e9c78642b9f3e04bbe95 (diff) | |
download | tcl-d8e9b004e4b38c7b0c2f23cf6690d53540f3c168.zip tcl-d8e9b004e4b38c7b0c2f23cf6690d53540f3c168.tar.gz tcl-d8e9b004e4b38c7b0c2f23cf6690d53540f3c168.tar.bz2 |
* win/tclWinSerial.c (SerialGetOptionProc): corrected reporting of
space parity on Windows (Eason) [Bug 6057].
-rw-r--r-- | win/tclWinSerial.c | 4 |
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]; } |