From 2ca56a209f9968e4546ab3c7038a3dec03709cfa Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 16 Mar 2005 17:13:08 +0000 Subject: Fixed compilation problems on Solaris 9. --- src/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text.cpp') 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; -- cgit v1.2.3