diff options
author | Vincent Richard <[email protected]> | 2005-02-05 09:51:39 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-02-05 09:51:39 +0000 |
commit | 95b56a703505e26f5457627934405c766ac926f5 (patch) | |
tree | 5406cf16c1bbdde6fe681ea302a743b5f1238d77 /src/text.cpp | |
parent | Removed extra '::' before numeric constants. (diff) | |
download | vmime-95b56a703505e26f5457627934405c766ac926f5.tar.gz vmime-95b56a703505e26f5457627934405c766ac926f5.zip |
Moved 'static' functions into 'parserHelpers' class.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text.cpp b/src/text.cpp index e0a6e1de..daf79d44 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -264,7 +264,7 @@ text* text::newFromString(const string& in, const charset& ch, text* generateInE for ( ; ; ) { - if (p == end || isspace(*p)) + if (p == end || parserHelpers::isspace(*p)) { if (p != end) ++p; @@ -309,7 +309,7 @@ text* text::newFromString(const string& in, const charset& ch, text* generateInE is8bit = false; start = p; } - else if (!isascii(*p)) + else if (!parserHelpers::isascii(*p)) { is8bit = true; ++p; @@ -784,7 +784,7 @@ void text::decodeAndUnfold(const string::const_iterator& inStart, const string:: { // Check whether there are only white-spaces between // the two encoded words - for ( ; (p != wordPos) && isspace(*p) ; ++p); + for ( ; (p != wordPos) && parserHelpers::isspace(*p) ; ++p); } if (p != wordPos) // if not empty |