From d5c768d731847b62f9f74833e68518558dbfa782 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 12 Aug 2008 23:19:15 +0000 Subject: * generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd): fix # args displayed. [Bug 2048676] --- ChangeLog | 5 +++++ generic/tclOOInfo.c | 6 +++--- 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 + + * generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd): + fix # args displayed. [Bug 2048676] + 2008-08-08 Don Porter 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]); -- cgit v0.12