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

Modified Files:
        wxMsgCmdProc.cpp 
Log Message:
don't quote anything at all if the message we're replying to isn't opened in the viewer

Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -b -u -2 -r1.61 -r1.62
--- wxMsgCmdProc.cpp    12 Jul 2004 20:53:21 -0000      1.61
+++ wxMsgCmdProc.cpp    12 Jul 2004 20:59:27 -0000      1.62
@@ -789,5 +789,8 @@
 
             MailFolder::Params params(templ, replyKind);
-            params.msgview = quote == M_ACTION_NEVER ? NULL : m_msgView;
+            if ( quote != M_ACTION_NEVER && m_msgView->HasMessage() )
+            {
+               params.msgview = m_msgView;
+            }
 
             m_TicketList->Add(m_asmf->ReplyMessages
@@ -805,5 +808,8 @@
          {
             MailFolder::Params params(templ);
+            if ( m_msgView->HasMessage() )
+            {
             params.msgview = m_msgView;
+            }
 
             m_TicketList->Add(m_asmf->ForwardMessages



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to