summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-06-20 11:56:04 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-06-20 11:56:04 (GMT)
commitf2786dc3188559c35727e90b4bb72078acd00bd0 (patch)
tree0e439b46fd7c5462f9ad2a37c2cc023200693c1a
parent66841746566d5e16445d081fb4b76b182a19b9cb (diff)
downloadtcl-f2786dc3188559c35727e90b4bb72078acd00bd0.zip
tcl-f2786dc3188559c35727e90b4bb72078acd00bd0.tar.gz
tcl-f2786dc3188559c35727e90b4bb72078acd00bd0.tar.bz2
Fix [3148192] implementation, restoring legacy form again
-rw-r--r--generic/tclIOCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c
index e166e94..0c05cbf 100644
--- a/generic/tclIOCmd.c
+++ b/generic/tclIOCmd.c
@@ -138,7 +138,7 @@ Tcl_PutsObjCmd(
chanObjPtr = objv[2];
string = objv[3];
break;
- } else if (strcmp(TclGetString(objv[2]), "nonewline") == 0) {
+ } else if (strcmp(TclGetString(objv[3]), "nonewline") == 0) {
/*
* The code below provides backwards compatibility with an old
* form of the command that is no longer recommended or