summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSend.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 /unix/tkUnixSend.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 'unix/tkUnixSend.c')
-rw-r--r--unix/tkUnixSend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index f5e83af..4be6cdb 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -1970,7 +1970,7 @@ TkpTestsendCmd(
Tk_ErrorHandler handler;
int index;
- if (objc + 1 < 3) {
+ if (objc < 2) {
Tcl_WrongNumArgs(interp, 1, objv,
"option ?arg ...?");
return TCL_ERROR;