summaryrefslogtreecommitdiffstats
path: root/generic/tkMain.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-18 12:47:38 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-18 12:47:38 (GMT)
commit63d55485eb9be2e21c911bdc78e0367d8d7ecb2c (patch)
tree80450d56ce49849889e9233fac6643a3589623a0 /generic/tkMain.c
parentc6eb4388bed08a7f24b9de6cd12d1500cab024ca (diff)
downloadtk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.zip
tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.gz
tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.bz2
Missed more than a few TIP 660 changes. Possibly more to come.
Diffstat (limited to 'generic/tkMain.c')
-rw-r--r--generic/tkMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index ad122d9..8db676c 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -425,7 +425,7 @@ StdinProc(
length = Tcl_Gets(chan, &isPtr->line);
- if ((length == TCL_INDEX_NONE) && !isPtr->gotPartial) {
+ if ((length < 0) && !isPtr->gotPartial) {
if (isPtr->tty) {
/*
* Would be better to find a way to exit the mainLoop? Or perhaps