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/tkScale.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/tkScale.c')
-rw-r--r-- | generic/tkScale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkScale.c b/generic/tkScale.c index cb010c1..2519a8b 100644 --- a/generic/tkScale.c +++ b/generic/tkScale.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkScale.c,v 1.29 2008/04/27 22:38:58 dkf Exp $ + * RCS: @(#) $Id: tkScale.c,v 1.30 2008/07/23 23:24:23 nijtmans Exp $ */ #include "default.h" @@ -211,7 +211,7 @@ Tk_ScaleObjCmd( Tk_Window tkwin; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName ?options?"); + Tcl_WrongNumArgs(interp, 1, objv, "pathName ?-option value ...?"); return TCL_ERROR; } @@ -337,7 +337,7 @@ ScaleWidgetObjCmd( int index, result; if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "option ?arg arg ...?"); + Tcl_WrongNumArgs(interp, 1, objv, "option ?arg ...?"); return TCL_ERROR; } result = Tcl_GetIndexFromObj(interp, objv[1], commandNames, |