Small fix on MessageHeader decodeWord.

This commit is contained in:
kmribti
2016-01-16 22:54:30 +01:00
parent fc2fd470ff
commit f94d20492a

View File

@@ -339,7 +339,7 @@ std::string MessageHeader::decodeWord(const std::string& text, const std::string
// check if there are standar text before the rfc2047 chunk, and if so, copy it.
if (pos > 0) {
outs += tmp.substr(0, pos - 1);
outs += tmp.substr(0, pos);
}
// remove text already copied.