diff options
author | Vincent Richard <[email protected]> | 2010-02-03 10:56:12 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2010-02-03 10:56:12 +0000 |
commit | 6298cdc850eb0cfe3866d1ce88d71644ada9c4cd (patch) | |
tree | e871b0149a2a078c185e587e83f73f7e6cf280eb | |
parent | Removed wide-char support. (diff) | |
download | vmime-6298cdc850eb0cfe3866d1ce88d71644ada9c4cd.tar.gz vmime-6298cdc850eb0cfe3866d1ce88d71644ada9c4cd.zip |
Use homemade isSpace() instead of std::ispace() for portability.
-rw-r--r-- | src/word.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/word.cpp b/src/word.cpp index 4f911089..f24d6313 100644 --- a/src/word.cpp +++ b/src/word.cpp @@ -475,7 +475,7 @@ void word::generate(utility::outputStream& os, const string::size_type maxLineLe os << string(curLineStart, lastWSpos); - if (lastWSpos > curLineStart && std::isspace(*(lastWSpos - 1))) + if (lastWSpos > curLineStart && parserHelpers::isSpace(*(lastWSpos - 1))) state->lastCharIsSpace = true; else state->lastCharIsSpace = false; |