Revision: 7262
http://svn.sourceforge.net/mahogany/?rev=7262&view=rev
Author: vadz
Date: 2007-05-01 16:37:18 -0700 (Tue, 01 May 2007)
Log Message:
-----------
temporary fix for wxGetTranslation() returning a junk pointer in the current cvs HEAD (this will be fixed later in wx but in the meanwhile make M work)
Modified Paths:
--------------
trunk/M/src/mail/MailFolder.cpp
Modified: trunk/M/src/mail/MailFolder.cpp
===================================================================
--- trunk/M/src/mail/MailFolder.cpp 2007-04-30 17:10:13 UTC (rev 7261)
+++ trunk/M/src/mail/MailFolder.cpp 2007-05-01 23:37:18 UTC (rev 7262)
@@ -964,9 +964,9 @@
if ( wxStrncmp(pStart, replyPrefixStandard, matchLen) != 0 )
{
// finally the translation of the standard string
- const wxChar * const replyPrefixTrans =
- wxGetTranslation(replyPrefixStandard);
- matchLen = wxStrlen(replyPrefixTrans);
+ const wxString
+ replyPrefixTrans(wxGetTranslation(replyPrefixStandard));
+ matchLen = replyPrefixTrans.length();
if ( wxStrncmp(pStart, replyPrefixTrans, matchLen) != 0 )
{
// failed to find any reply prefix
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.