summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-04-21 21:29:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-04-21 21:29:17 (GMT)
commit094335002cae81ecfcede60611fca53b6c864104 (patch)
tree49708f0ce92d49e4dcc71f3c1146b5a55773935a
parent04313c5b8175a3bf7bba31233040572a05c71463 (diff)
downloadtcl-094335002cae81ecfcede60611fca53b6c864104.zip
tcl-094335002cae81ecfcede60611fca53b6c864104.tar.gz
tcl-094335002cae81ecfcede60611fca53b6c864104.tar.bz2
* generic/tclDictObj.c: Updated callers to call new routine.
-rw-r--r--ChangeLog1
-rw-r--r--generic/tclDictObj.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 32aa41e..b0e923e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,7 @@
* generic/tclExecute.c: Updated callers to call new routine.
* generic/tclBasic.c: Updated callers to call new routine.
* generic/tclCompCmds.c: Updated callers to call new routine.
+ * generic/tclDictObj.c: Updated callers to call new routine.
* tests/obj.test: Corrected bad tests that actually expected
values like "47" and "0xac" to be accepted as booleans.
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index 2bbd292..043e1d3 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.27 2004/11/13 00:19:09 dgp Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.28 2005/04/21 21:29:18 dgp Exp $
*/
#include "tclInt.h"
@@ -2645,7 +2645,7 @@ DictFilterCmd(interp, objc, objv)
boolObj = Tcl_GetObjResult(interp);
Tcl_IncrRefCount(boolObj);
Tcl_ResetResult(interp);
- if (Tcl_GetBooleanFromObj(interp, boolObj,
+ if (TclGetTruthValueFromObj(interp, boolObj,
&satisfied) != TCL_OK) {
TclDecrRefCount(boolObj);
result = TCL_ERROR;