diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:07:15 +0200 |
commit | 8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch) | |
tree | 975c6e590c31e56007006a23e7b15d0245d75b08 /shared/zstring.cpp | |
parent | 3.6 (diff) | |
download | FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2 FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip |
3.7
Diffstat (limited to 'shared/zstring.cpp')
-rw-r--r-- | shared/zstring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/zstring.cpp b/shared/zstring.cpp index ce46d3e9..4652a6fe 100644 --- a/shared/zstring.cpp +++ b/shared/zstring.cpp @@ -273,7 +273,7 @@ namespace { #ifdef ZSTRING_CHAR inline -bool defaultIsWhiteSpace(const char ch) +bool defaultIsWhiteSpace(char ch) { // some compilers (e.g. VC++ 6.0) return true for a call to isspace('\xEA') => exclude char(128) to char(255) return (static_cast<unsigned char>(ch) < 128) && isspace(static_cast<unsigned char>(ch)) != 0; @@ -281,7 +281,7 @@ bool defaultIsWhiteSpace(const char ch) #elif defined ZSTRING_WIDE_CHAR inline -bool defaultIsWhiteSpace(const wchar_t ch) +bool defaultIsWhiteSpace(wchar_t ch) { // some compilers (e.g. VC++ 6.0) return true for a call to isspace('\xEA') => exclude char(128) to char(255) return (ch < 128 || ch > 255) && iswspace(ch) != 0; |