diff options
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.cpp b/src/text.cpp index 97a58647..613cbbad 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -265,7 +265,7 @@ text* text::newFromString(const string& in, const charset& ch, text* generateInE for ( ; ; ) { - if (p == end || parserHelpers::isspace(*p)) + if (p == end || parserHelpers::isSpace(*p)) { if (p != end) ++p; @@ -310,7 +310,7 @@ text* text::newFromString(const string& in, const charset& ch, text* generateInE is8bit = false; start = p; } - else if (!parserHelpers::isascii(*p)) + else if (!parserHelpers::isAscii(*p)) { is8bit = true; ++p; |