summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSend.c
diff options
context:
space:
mode:
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;