summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2016-08-22 07:58:55 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2016-08-22 07:58:55 (GMT)
commit79732cb7bfe403d288455d98bc70bf3c73e09e8f (patch)
treed1866641079310e1024ec61c66b3c87b3f3cc3fb /generic/tclExecute.c
parent13720242445a793fbbdcaa9ec418436847909d73 (diff)
downloadtcl-79732cb7bfe403d288455d98bc70bf3c73e09e8f.zip
tcl-79732cb7bfe403d288455d98bc70bf3c73e09e8f.tar.gz
tcl-79732cb7bfe403d288455d98bc70bf3c73e09e8f.tar.bz2
Fix improper use of TclCheckEmptySTring.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index b667a4a..f74c468 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -6209,7 +6209,7 @@ TEBCresume(
Try to determine, without triggering generation of a string
representation, whether one value is not a number.
*/
- if (TclCheckEmptyString(valuePtr) > 1 || TclCheckEmptyString(value2Ptr) > 1) {
+ if (TclCheckEmptyString(valuePtr) > 0 || TclCheckEmptyString(value2Ptr) > 0) {
goto stringCompare;
}