summaryrefslogtreecommitdiffstats
path: root/generic/tclHistory.c
diff options
context:
space:
mode:
authormsofer <msofer@noemail.net>2008-07-13 09:03:30 (GMT)
committermsofer <msofer@noemail.net>2008-07-13 09:03:30 (GMT)
commitce93a2b1f3a340a1227c55859fbc32897d8d8da9 (patch)
tree7d872fa5186b327990fa96d969a3b092780f38d2 /generic/tclHistory.c
parenta3d41e2e6e07b38abf31367960d5df505f4baf69 (diff)
downloadtcl-ce93a2b1f3a340a1227c55859fbc32897d8d8da9.zip
tcl-ce93a2b1f3a340a1227c55859fbc32897d8d8da9.tar.gz
tcl-ce93a2b1f3a340a1227c55859fbc32897d8d8da9.tar.bz2
NRE implementation [Patch 2017110]
FossilOrigin-Name: a646e4c362a574666638b06521668fc53952bd72
Diffstat (limited to 'generic/tclHistory.c')
-rw-r--r--generic/tclHistory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclHistory.c b/generic/tclHistory.c
index 0a01019..ea1a8ff 100644
--- a/generic/tclHistory.c
+++ b/generic/tclHistory.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclHistory.c,v 1.11 2008/04/27 22:21:30 dkf Exp $
+ * RCS: @(#) $Id: tclHistory.c,v 1.12 2008/07/13 09:03:33 msofer Exp $
*/
#include "tclInt.h"
@@ -123,7 +123,7 @@ Tcl_RecordAndEvalObj(
result = Tcl_GetCommandInfo(interp, "history", &info);
- if (result && (info.objProc == TclObjInterpProc)) {
+ if (result && (info.deleteProc == TclProcDeleteProc)) {
Proc *procPtr = (Proc *)(info.objClientData);
call = (procPtr->cmdPtr->compileProc != TclCompileNoOp);
}