diff options
Diffstat (limited to 'ACE/ace/ACE.inl')
-rw-r--r-- | ACE/ace/ACE.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/ACE.inl b/ACE/ace/ACE.inl index 033cef78f55..c114deb90ee 100644 --- a/ACE/ace/ACE.inl +++ b/ACE/ace/ACE.inl @@ -272,7 +272,7 @@ ACE::strdelete (wchar_t *s) ACE_INLINE bool ACE::isdotdir (const char *s) { - return (s[0] == '.' && + return (s[0] == '.' && ((s[1] == 0) || (s[1] == '.' && s[2] == 0))); } @@ -280,7 +280,7 @@ ACE::isdotdir (const char *s) ACE_INLINE bool ACE::isdotdir (const wchar_t *s) { - return (s[0] == ACE_TEXT ('.') && + return (s[0] == ACE_TEXT ('.') && ((s[1] == 0) || (s[1] == ACE_TEXT ('.') && s[2] == 0))); } #endif /* ACE_HAS_WCHAR */ |