summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2011-06-20 11:56:04 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2011-06-20 11:56:04 (GMT)
commite3cdf03cb54e1613c1626a641c0cd692623ca78c (patch)
tree0e439b46fd7c5462f9ad2a37c2cc023200693c1a /generic/tclIOCmd.c
parent839d50e84e4e13a146084049d87adb14caa03673 (diff)
downloadtcl-e3cdf03cb54e1613c1626a641c0cd692623ca78c.zip
tcl-e3cdf03cb54e1613c1626a641c0cd692623ca78c.tar.gz
tcl-e3cdf03cb54e1613c1626a641c0cd692623ca78c.tar.bz2
Fix [3148192] implementation, restoring legacy form again
FossilOrigin-Name: 7b76da3992ea486b3db9919a8934ef507886d723
Diffstat (limited to 'generic/tclIOCmd.c')
-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