diff options
| -rw-r--r-- | ext/standard/string.c | 2 |
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++; |
