Revision: 7304
http://mahogany.svn.sourceforge.net/mahogany/?rev=7304&view=rev
Author: vadz
Date: 2007-07-29 08:24:46 -0700 (Sun, 29 Jul 2007)
Log Message:
-----------
use part length correctly in GetTextContent()
Modified Paths:
--------------
trunk/M/src/mail/MimePartCCBase.cpp
Modified: trunk/M/src/mail/MimePartCCBase.cpp
===================================================================
--- trunk/M/src/mail/MimePartCCBase.cpp 2007-07-29 15:20:21 UTC (rev 7303)
+++ trunk/M/src/mail/MimePartCCBase.cpp 2007-07-29 15:24:46 UTC (rev 7304)
@@ -449,9 +449,10 @@
{
unsigned long len;
const char *p = reinterpret_cast<const char *>(GetContent(&len));
- if ( !p )
- return wxGetEmptyString();
+ wxString s;
+ if ( p )
+ s = wxString::From8BitData(p, len);
- return wxString::From8BitData(p);
+ return s;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates