diff options
author | Ryan Johnson <ryan@iambismark.net> | 2013-06-24 09:33:18 -0700 |
---|---|---|
committer | Ryan Johnson <ryan@iambismark.net> | 2013-06-24 09:33:18 -0700 |
commit | 876a84992ad13848a9f77d2f0cd4a8c8d3c0b75a (patch) | |
tree | 9919b4e76dd8b241147538786b9e16cf6cf34db8 /src/core/rfc822 | |
parent | e77cd05ac0cfc0627fbb87902ac0e383ad50ab57 (diff) |
Fix for MCMessageBuilder copy constructor
Fix for HTML body being overwritten with text body.
Diffstat (limited to 'src/core/rfc822')
-rw-r--r-- | src/core/rfc822/MCMessageBuilder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/rfc822/MCMessageBuilder.cc b/src/core/rfc822/MCMessageBuilder.cc index 435557db..ea449fd6 100644 --- a/src/core/rfc822/MCMessageBuilder.cc +++ b/src/core/rfc822/MCMessageBuilder.cc @@ -478,7 +478,7 @@ MessageBuilder::MessageBuilder(MessageBuilder * other) { init(); setHTMLBody(other->mHTMLBody); - setHTMLBody(other->mTextBody); + setTextBody(other->mTextBody); setAttachments(other->mAttachments); setRelatedAttachments(other->mRelatedAttachments); MC_SAFE_REPLACE_COPY(String, mBoundaryPrefix, other->mBoundaryPrefix); |