diff options
author | patthoyts <patthoyts@noemail.net> | 2003-08-19 19:39:54 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2003-08-19 19:39:54 (GMT) |
commit | 2b20b8fcb46999bb2754315ee13e1a2cf9fc2896 (patch) | |
tree | 02d713fa40529226b0cb052918e5414b2bec8823 /win | |
parent | 73f3bf86e14f024e4c1bb7ab0da3f5bb9fcc9fd5 (diff) | |
download | tcl-2b20b8fcb46999bb2754315ee13e1a2cf9fc2896.zip tcl-2b20b8fcb46999bb2754315ee13e1a2cf9fc2896.tar.gz tcl-2b20b8fcb46999bb2754315ee13e1a2cf9fc2896.tar.bz2 |
* win/tclWinSerial.c (SerialErrorStr): Fixed a syntax error
created in the previous code cleanup.
FossilOrigin-Name: 8e8e4096de6fbf05a4ca4d4e1955453e20889a8c
Diffstat (limited to 'win')
-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 b3f7f22..2fa32a1 100644 --- a/win/tclWinSerial.c +++ b/win/tclWinSerial.c @@ -11,7 +11,7 @@ * * Serial functionality implemented by Rolf.Schroedter@dlr.de * - * RCS: @(#) $Id: tclWinSerial.c,v 1.27 2003/08/19 10:33:43 dkf Exp $ + * RCS: @(#) $Id: tclWinSerial.c,v 1.28 2003/08/19 19:39:56 patthoyts Exp $ */ #include "tclWinInt.h" @@ -1569,7 +1569,7 @@ SerialErrorStr(error, dsPtr) if (error & CE_PTO) { /* PTO used to signal WRITE-TIMEOUT */ Tcl_DStringAppendElement(dsPtr, "TIMEOUT"); } - if (error & ~((DWORD) (SERIAL_READ_ERRORS | SERIAL_WRITE_ERRORS)))) { + if (error & ~((DWORD) (SERIAL_READ_ERRORS | SERIAL_WRITE_ERRORS))) { char buf[TCL_INTEGER_SPACE + 1]; wsprintfA(buf, "%d", error); |