summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2008-08-12 23:19:15 (GMT)
committerhobbs <hobbs>2008-08-12 23:19:15 (GMT)
commitd5c768d731847b62f9f74833e68518558dbfa782 (patch)
treed604110f930e2774ef0e290deb134de29e11e751 /generic
parent96184da694c1e5f119c8eea1bfff507bc151b3f3 (diff)
downloadtcl-d5c768d731847b62f9f74833e68518558dbfa782.zip
tcl-d5c768d731847b62f9f74833e68518558dbfa782.tar.gz
tcl-d5c768d731847b62f9f74833e68518558dbfa782.tar.bz2
* generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd):
fix # args displayed. [Bug 2048676]
Diffstat (limited to 'generic')
-rw-r--r--generic/tclOOInfo.c6
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]);