aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility/stringUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility/stringUtils.cpp')
-rw-r--r--src/utility/stringUtils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utility/stringUtils.cpp b/src/utility/stringUtils.cpp
index 988a6f53..4795c8d2 100644
--- a/src/utility/stringUtils.cpp
+++ b/src/utility/stringUtils.cpp
@@ -94,8 +94,8 @@ const string stringUtils::trim(const string& str)
if (b != e)
{
- for ( ; b != e && parserHelpers::isspace(*b) ; ++b);
- for ( ; e != b && parserHelpers::isspace(*(e - 1)) ; --e);
+ for ( ; b != e && parserHelpers::isSpace(*b) ; ++b);
+ for ( ; e != b && parserHelpers::isSpace(*(e - 1)) ; --e);
}
return (string(b, e));
@@ -109,7 +109,7 @@ const string::size_type stringUtils::countASCIIchars
for (string::const_iterator i = begin ; i != end ; ++i)
{
- if (parserHelpers::isascii(*i))
+ if (parserHelpers::isAscii(*i))
{
if (*i != '=' || *(i + 1) != '?') // To avoid bad behaviour...
++count;