summaryrefslogtreecommitdiff
path: root/shared/zstring.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /shared/zstring.cpp
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'shared/zstring.cpp')
-rw-r--r--shared/zstring.cpp4
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;
bgstack15