diff options
Diffstat (limited to 'CPP/7zip/Archive/Common/ItemNameUtils.cpp')
-rwxr-xr-x | CPP/7zip/Archive/Common/ItemNameUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/Common/ItemNameUtils.cpp b/CPP/7zip/Archive/Common/ItemNameUtils.cpp index 6dfaf980..71996a63 100755 --- a/CPP/7zip/Archive/Common/ItemNameUtils.cpp +++ b/CPP/7zip/Archive/Common/ItemNameUtils.cpp @@ -39,7 +39,7 @@ bool HasTailSlash(const AString &name, UINT codePage) if (name.IsEmpty()) return false; LPCSTR prev = - #ifdef _WIN32 + #if defined(_WIN32) && !defined(UNDER_CE) CharPrevExA((WORD)codePage, name, &name[name.Length()], 0); #else (LPCSTR)(name) + (name.Length() - 1); |