Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25935/src/gui

Modified Files:
        wxComposeView.cpp 
Log Message:
don't redefine LAYOUT_MARGIN; fixed SaveMessageAsMBOX() call

Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.368
retrieving revision 1.369
diff -b -u -2 -r1.368 -r1.369
--- wxComposeView.cpp   16 Jul 2004 22:42:00 -0000      1.368
+++ wxComposeView.cpp   13 Aug 2004 22:16:21 -0000      1.369
@@ -169,7 +169,4 @@
 #define CANONIC_ADDRESS_SEPARATOR   _T(", ")
 
-// code here was written with assumption that x and y margins are the same
-#define LAYOUT_MARGIN LAYOUT_X_MARGIN
-
 // ----------------------------------------------------------------------------
 // globals
@@ -4577,5 +4574,6 @@
    }
 
-   if ( !MailFolder::SaveMessageAsMBOX(m_filenameAutoSave, contents) )
+   if ( !MailFolder::SaveMessageAsMBOX(m_filenameAutoSave,
+                                        contents.c_str(), contents.length()) )
    {
       // TODO: disable autosaving? we risk to give many such messages if



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to