From 6757f5c6f30f6630f728fcbd99d7ce4a50135706 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Fri, 2 Dec 2011 20:54:36 +1000 Subject: Correct the documentation for 'local' Also some general documentation cleanups and trailing white space removal. Signed-off-by: Steve Bennett --- jim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jim.c') diff --git a/jim.c b/jim.c index 47a99f8..652c690 100644 --- a/jim.c +++ b/jim.c @@ -3540,7 +3540,7 @@ static int JimCreateCommand(Jim_Interp *interp, const char *name, Jim_Cmd *cmd) */ Jim_HashEntry *he = Jim_FindHashEntry(&interp->commands, name); if (he) { - /* There was an old cmd with the same name, + /* There was an old cmd with the same name, * so this requires a 'proc epoch' update. */ /* If a procedure with the same name didn't exist there is no need @@ -3813,7 +3813,7 @@ Jim_Cmd *Jim_GetCommand(Jim_Interp *interp, Jim_Obj *objPtr, int flags) { Jim_Cmd *cmd; - if (objPtr->typePtr != &commandObjType || + if (objPtr->typePtr != &commandObjType || objPtr->internalRep.cmdValue.procEpoch != interp->procEpoch) { /* Not cached or out of date, so lookup */ -- cgit v1.1