summaryrefslogtreecommitdiffstats
path: root/generic/tclVar.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r--generic/tclVar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c
index 41bfa39..68d467a 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -6572,7 +6572,7 @@ AppendLocals(
&& (includeLinks || !TclIsVarLink(varPtr))) {
varName = TclGetString(*varNamePtr);
if ((pattern == NULL) || Tcl_StringMatch(varName, pattern)) {
- if (!justConstants || TclIsVarConstant(varPtr)) {
+ if (!justConstants || TclIsVarConstant(varPtr)) {
Tcl_ListObjAppendElement(interp, listPtr, *varNamePtr);
}
if (includeLinks) {
@@ -6626,7 +6626,7 @@ AppendLocals(
objNamePtr = VarHashGetKey(varPtr);
varName = TclGetString(objNamePtr);
if ((pattern == NULL) || Tcl_StringMatch(varName, pattern)) {
- if (!justConstants || TclIsVarConstant(varPtr)) {
+ if (!justConstants || TclIsVarConstant(varPtr)) {
Tcl_ListObjAppendElement(interp, listPtr, objNamePtr);
}
if (includeLinks) {