Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv14192/src/gui
Modified Files:
wxComposeView.cpp
Log Message:
fixed generation of from header for the outgoing messages when it was initially
different from default (happened when using 'edit message in composer' menu command)
Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.287
retrieving revision 1.288
diff -b -u -2 -r1.287 -r1.288
--- wxComposeView.cpp 2 Jul 2002 21:34:09 -0000 1.287
+++ wxComposeView.cpp 2 Jul 2002 22:09:34 -0000 1.288
@@ -1945,4 +1945,8 @@
from = m_txtFrom->GetValue();
}
+ else
+ {
+ from = m_from;
+ }
return from;
@@ -3329,5 +3333,5 @@
String from = GetFrom();
- if ( !from.empty() && from != m_from )
+ if ( !from.empty() )
{
msg->SetFrom(from);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates