summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2003-08-19 19:39:55 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2003-08-19 19:39:55 (GMT)
commit81daad7e60d1890ac0080146642a9226d0f25948 (patch)
tree02d713fa40529226b0cb052918e5414b2bec8823
parentb2e6196e22682b5350cf30ef8d97763fd54d46a0 (diff)
downloadtcl-81daad7e60d1890ac0080146642a9226d0f25948.zip
tcl-81daad7e60d1890ac0080146642a9226d0f25948.tar.gz
tcl-81daad7e60d1890ac0080146642a9226d0f25948.tar.bz2
* win/tclWinSerial.c (SerialErrorStr): Fixed a syntax error
created in the previous code cleanup.
-rw-r--r--ChangeLog5
-rw-r--r--win/tclWinSerial.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b639a9..cd7a221 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-19 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax error
+ created in the previous code cleanup.
+
2003-08-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* win/tclWinSerial.c: Adjusted commenting and spacing usage to
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);