From 659c4085c492c12bbd774955860f223e389260eb Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 12 Apr 2002 06:51:50 +0000 Subject: * generic/tkConsole.c (ConsoleCmd): correct return that should have just set result code. --- generic/tkConsole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tkConsole.c b/generic/tkConsole.c index e51d687..e004155 100644 --- a/generic/tkConsole.c +++ b/generic/tkConsole.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: tkConsole.c,v 1.16 2002/01/15 20:48:29 dgp Exp $ + * RCS: @(#) $Id: tkConsole.c,v 1.17 2002/04/12 06:51:50 hobbs Exp $ */ #include "tk.h" @@ -602,7 +602,7 @@ ConsoleCmd(clientData, interp, argc, argv) } else { Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], " eval command\"", (char *) NULL); - return TCL_ERROR; + result = TCL_ERROR; } } else { Tcl_AppendResult(interp, "bad option \"", argv[1], -- cgit v0.12