summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tclProc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index 901476a..aeb8d17 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclProc.c,v 1.21 1999/11/19 06:34:24 hobbs Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.22 1999/11/19 23:02:12 hobbs Exp $
*/
#include "tclInt.h"
@@ -502,8 +502,8 @@ TclGetFrame(interp, string, framePtrPtr)
}
if (level < 0) {
levelError:
- Tcl_AppendResult(interp, "bad level \"",
- (result ? string : "1"), "\"", (char *) NULL);
+ Tcl_AppendResult(interp, "bad level \"", string, "\"",
+ (char *) NULL);
return -1;
}
} else if (isdigit(UCHAR(*string))) { /* INTL: digit */
@@ -1135,7 +1135,7 @@ TclProcCompileProc(interp, procPtr, bodyPtr, nsPtr, description, procName)
if (result == TCL_ERROR) {
char buf[100 + TCL_INTEGER_SPACE];
- numChars = strlen(procName);
+ numChars = strlen(procName);
ellipsis = "";
if (numChars > 50) {
numChars = 50;