summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-12-10 06:04:15 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-12-10 06:04:15 +0000
commitc4c586a6523387d0b9459c1e5e9b9584e28bd0be (patch)
tree6ef46957ff7f27f1e4bbccd9cdd96b74ee987bb3
parent1ecf87238fb29e2cf5df37e8ad79c4e98c6a1680 (diff)
downloadphp-git-c4c586a6523387d0b9459c1e5e9b9584e28bd0be.tar.gz
Fix typo.
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 859e9b1484..23e505ba23 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1100,7 +1100,7 @@ PHPAPI void php_basename(char *s, size_t len, char *suffix, size_t sufflen, char
while(c>=s) {
if(*c == '/'
#ifdef PHP_WIN32
- || ( *c == '\\' && !IsDBCSLeadByte(*c-1))
+ || ( *c == '\\' && !IsDBCSLeadByte(*(c-1)))
#endif
) {
c++;