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

Modified Files:
        TextViewer.cpp 
Log Message:
fixed bug with showing blank line in the beginning of the message shown after a 
PGP-signed message

Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -b -u -2 -r1.65 -r1.66
--- TextViewer.cpp      2 Dec 2004 08:49:04 -0000       1.65
+++ TextViewer.cpp      20 Feb 2005 17:45:38 -0000      1.66
@@ -540,4 +540,8 @@
 void TextViewer::Clear()
 {
+   // we shouldn't have anything left over from the last message we showed
+   ASSERT_MSG( m_textToAppend.empty(), _T("forgot to call FlushText()?") );
+
+
    m_window->Clear();
 
@@ -833,4 +837,6 @@
 void TextViewer::EndBody()
 {
+   FlushText();
+
    m_window->SetInsertionPoint(0);
 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to