summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.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)
commitc3b2380c572856c444417e37c6e52e7b24cf433b (patch)
treee6fdb6985952e104004323a8b1172733b8f33abf /generic/tclFileName.c
parent8bc2c23bda9e73e39c63f404bf1da85c8071f669 (diff)
downloadtcl-c3b2380c572856c444417e37c6e52e7b24cf433b.zip
tcl-c3b2380c572856c444417e37c6e52e7b24cf433b.tar.gz
tcl-c3b2380c572856c444417e37c6e52e7b24cf433b.tar.bz2
more spacing/formatting tweaks
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index baa915d..847b225 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -1267,7 +1267,7 @@ Tcl_GlobObjCmd(
last = first + pathlength;
for (; last != first; last--) {
- if (strchr(separators, *(last-1)) != NULL) {
+ if (strchr(separators, last[-1]) != NULL) {
break;
}
}