summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2017-11-25 18:24:10 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2017-11-25 18:24:10 (GMT)
commit811ec68434e9a83c37f1a0fd3ef0a8cae5baac91 (patch)
treecdb3b1a2d69e7779c4c7d42ac4fa11f4b50a4451 /generic/tclNamesp.c
parentc2e98a86d40e2d5fc6f461c5c0a9beaf57a55151 (diff)
downloadtcl-811ec68434e9a83c37f1a0fd3ef0a8cae5baac91.zip
tcl-811ec68434e9a83c37f1a0fd3ef0a8cae5baac91.tar.gz
tcl-811ec68434e9a83c37f1a0fd3ef0a8cae5baac91.tar.bz2
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);