summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-10-04 18:06:47 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-10-04 18:06:47 (GMT)
commit1b5fe3d675d4cc34efc61475912cff429a755b5b (patch)
tree5028aa392a5b1beb865716491aac742846558ad0 /generic/tclCmdIL.c
parente0670e6da0fa957eff9b3e856c65fcd41eb9c711 (diff)
downloadtcl-1b5fe3d675d4cc34efc61475912cff429a755b5b.zip
tcl-1b5fe3d675d4cc34efc61475912cff429a755b5b.tar.gz
tcl-1b5fe3d675d4cc34efc61475912cff429a755b5b.tar.bz2
More result hygiene.
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index d479f81..cffc0dd 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdIL.c,v 1.158 2008/09/29 15:38:32 dgp Exp $
+ * RCS: @(#) $Id: tclCmdIL.c,v 1.159 2008/10/04 18:06:48 dkf Exp $
*/
#include "tclInt.h"
@@ -1082,8 +1082,8 @@ InfoFrameCmd(
if ((level > topLevel) || (level <= - topLevel)) {
levelError:
- Tcl_AppendStringsToObj(Tcl_GetObjResult(interp), "bad level \"",
- TclGetString(objv[1]), "\"", NULL);
+ Tcl_AppendResult(interp, "bad level \"", TclGetString(objv[1]), "\"",
+ NULL);
return TCL_ERROR;
}