summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclOOInfo.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index baf8db6..6db6c9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-12 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd):
+ fix # args displayed. [Bug 2048676]
+
2008-08-08 Don Porter <dgp@users.sourceforge.net>S
* generic/tclOOMethod.c (PushMethodCallFrame): Added missing check
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]);