summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-03-19 17:09:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-03-19 17:09:30 (GMT)
commita72c1f969cba896ca61001393f0f7b74fb52e194 (patch)
treee6fdb6985952e104004323a8b1172733b8f33abf /generic/tclCompCmdsGR.c
parent1f9225ecf514564b9994b7747fbdc7852a321dfa (diff)
downloadtcl-a72c1f969cba896ca61001393f0f7b74fb52e194.zip
tcl-a72c1f969cba896ca61001393f0f7b74fb52e194.tar.gz
tcl-a72c1f969cba896ca61001393f0f7b74fb52e194.tar.bz2
more spacing/formatting tweaks
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index f35cd50..63f9e07 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -2754,7 +2754,7 @@ IndexTailVarIfKnown(
*/
for (p = tailName + len -1; p > tailName; p--) {
- if ((*p == ':') && (*(p - 1) == ':')) {
+ if ((p[0] == ':') && (p[- 1] == ':')) {
p++;
break;
}