summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
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;
}
}