diff options
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/text.cpp b/src/text.cpp index a2fe0601..24544567 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -299,6 +299,12 @@ void text::createFromString(const string& in, const charset& ch) } else { + if (count) + { + ref <word> w = getWordAt(getWordCount() - 1); + w->getBuffer() += ' '; + } + appendWord(vmime::create <word>(chunk, ch)); prevIs8bit = true; @@ -314,6 +320,12 @@ void text::createFromString(const string& in, const charset& ch) } else { + if (count) + { + ref <word> w = getWordAt(getWordCount() - 1); + w->getBuffer() += ' '; + } + appendWord(vmime::create <word> (chunk, charset(charsets::US_ASCII))); |