summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2017-11-25 21:40:19 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2017-11-25 21:40:19 (GMT)
commit14c8dabffe826dcdad24dc755164175dc4e6226f (patch)
tree5e4fec47fc7eb78c596031ade1adcaa3a7155850 /generic/tclNamesp.c
parent9b1ecce298fc120bc981d5182cc9c45bcfb0971d (diff)
downloadtcl-14c8dabffe826dcdad24dc755164175dc4e6226f.zip
tcl-14c8dabffe826dcdad24dc755164175dc4e6226f.tar.gz
tcl-14c8dabffe826dcdad24dc755164175dc4e6226f.tar.bz2
merge (cherrypick): Add missing parenthesis to an expression in TclEnsureNamespace.
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r--generic/tclNamesp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c
index e7914ad..d661856 100644
--- a/generic/tclNamesp.c
+++ b/generic/tclNamesp.c
@@ -2444,7 +2444,7 @@ TclEnsureNamespace(
Tcl_Namespace *namespacePtr)
{
Namespace *nsPtr = (Namespace *) namespacePtr;
- if (!nsPtr->flags & NS_DYING) {
+ if (!(nsPtr->flags & NS_DYING)) {
return namespacePtr;
}
return Tcl_CreateNamespace(interp, nsPtr->fullName, NULL, NULL);