diff options
author | nijtmans <nijtmans@noemail.net> | 2008-07-23 23:24:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-07-23 23:24:21 (GMT) |
commit | dfe078ce9d3d6919f553fdc611cf66c98bc035f5 (patch) | |
tree | 44da117febb11bc69d260540340f018933aa8b45 /generic/tkTextImage.c | |
parent | d569f52b5bd1880c64bfeda38b4c8d5791501921 (diff) | |
download | tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.zip tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.gz tk-dfe078ce9d3d6919f553fdc611cf66c98bc035f5.tar.bz2 |
fix [2021443] inconsistant "wrong # args" messages (for Tk)
FossilOrigin-Name: def570d7bdd7211b4c17c706781050222d16890f
Diffstat (limited to 'generic/tkTextImage.c')
-rw-r--r-- | generic/tkTextImage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c index e63b909..ce786ed 100644 --- a/generic/tkTextImage.c +++ b/generic/tkTextImage.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTextImage.c,v 1.22 2007/12/13 15:24:17 dgp Exp $ + * RCS: @(#) $Id: tkTextImage.c,v 1.23 2008/07/23 23:24:23 nijtmans Exp $ */ #include "tkPort.h" @@ -138,7 +138,7 @@ TkTextImageCmd( }; if (objc < 3) { - Tcl_WrongNumArgs(interp, 2, objv, "option ?arg arg ...?"); + Tcl_WrongNumArgs(interp, 2, objv, "option ?arg ...?"); return TCL_ERROR; } if (Tcl_GetIndexFromObj(interp, objv[2], optionStrings, "option", 0, @@ -173,7 +173,7 @@ TkTextImageCmd( } case CMD_CONF: if (objc < 4) { - Tcl_WrongNumArgs(interp, 3, objv, "index ?option value ...?"); + Tcl_WrongNumArgs(interp, 3, objv, "index ?-option value ...?"); return TCL_ERROR; } if (TkTextGetObjIndex(interp, textPtr, objv[3], &index) != TCL_OK) { @@ -217,7 +217,7 @@ TkTextImageCmd( */ if (objc < 4) { - Tcl_WrongNumArgs(interp, 3, objv, "index ?option value ...?"); + Tcl_WrongNumArgs(interp, 3, objv, "index ?-option value ...?"); return TCL_ERROR; } if (TkTextGetObjIndex(interp, textPtr, objv[3], &index) != TCL_OK) { |