another attempt to really fix bug 121650, this one is Ingo's suggestion.

CCBUGS: 121650

svn path=/branches/KDE/3.5/kdepim/; revision=578525
wilder-work
Allen Winter 20 years ago
parent b5b3c7f13f
commit b550885415
  1. 2
      kmmessage.cpp

@ -4013,7 +4013,7 @@ void KMMessage::updateBodyPart(const QString partSpecifier, const QByteArray & d
{
// update headers
// get rid of EOL
content.resize( content.length()-2 );
content.resize( QMAX( content.length(), 2 ) - 2 );
// we have to delete the fields first as they might have been created by
// an earlier call to DwHeaders::FieldBody
mLastUpdated->Headers().DeleteAllFields();

Loading…
Cancel
Save