Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv18875/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
MimePart::GetContent() doesn't copy data once again (inefficient!) any more; separate
GetTextContent() which does it was added; yet another bug in handling base64 data fixed
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.335
retrieving revision 1.336
diff -b -u -2 -r1.335 -r1.336
--- wxComposeView.cpp 23 Jun 2003 01:23:46 -0000 1.335
+++ wxComposeView.cpp 12 Jul 2003 18:57:43 -0000 1.336
@@ -3470,6 +3470,5 @@
case MimeType::TEXT:
- // cast is ok - it's a text part
- InsertText((const char *)mimePart->GetContent());
+ InsertText(mimePart->GetTextContent());
break;
@@ -3492,5 +3491,7 @@
InsertData(data2, len,
- mimePart->GetType().GetFull(), mimePart->GetFilename(),
mimePart->GetParam(_T("NAME")));
+ mimePart->GetType().GetFull(),
+ mimePart->GetFilename(),
+ mimePart->GetParam(_T("NAME")));
}
break;
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates