diff options
author | hobbs <hobbs@noemail.net> | 2008-08-12 23:19:14 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2008-08-12 23:19:14 (GMT) |
commit | fc060e01e52e523a16c9aaa796590c22041f0c7f (patch) | |
tree | d604110f930e2774ef0e290deb134de29e11e751 /generic/tclOOInfo.c | |
parent | 85fa427c0013570b0529146778e82df2e1e0ff53 (diff) | |
download | tcl-fc060e01e52e523a16c9aaa796590c22041f0c7f.zip tcl-fc060e01e52e523a16c9aaa796590c22041f0c7f.tar.gz tcl-fc060e01e52e523a16c9aaa796590c22041f0c7f.tar.bz2 |
* generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd):
fix # args displayed. [Bug 2048676]
FossilOrigin-Name: 7237db2f3ea0f199ed56a0e6ebb56ab68bbc8d8c
Diffstat (limited to 'generic/tclOOInfo.c')
-rw-r--r-- | generic/tclOOInfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOOInfo.c b/generic/tclOOInfo.c index ca5830b..bc7b4fb 100644 --- a/generic/tclOOInfo.c +++ b/generic/tclOOInfo.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: tclOOInfo.c,v 1.5 2008/07/13 23:15:22 nijtmans Exp $ + * RCS: @(#) $Id: tclOOInfo.c,v 1.6 2008/08/12 23:19:15 hobbs Exp $ */ #ifdef HAVE_CONFIG_H @@ -226,7 +226,7 @@ InfoObjectDefnCmd( Tcl_Obj *argsObj; if (objc != 3) { - Tcl_WrongNumArgs(interp, 3, objv, "objName methodName"); + Tcl_WrongNumArgs(interp, 1, objv, "objName methodName"); return TCL_ERROR; } @@ -599,7 +599,7 @@ InfoObjectMixinsCmd( int i; if (objc != 2) { - Tcl_WrongNumArgs(interp, 3, objv, "objName"); + Tcl_WrongNumArgs(interp, 1, objv, "objName"); return TCL_ERROR; } oPtr = (Object *) Tcl_GetObjectFromObj(interp, objv[1]); |