summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
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];
}