Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv13167/include

Modified Files:
        Address.h miscutil.h 
Log Message:
1. replaced GetFullEmailAddress() with (static) Address::BuildFullForm()
2. quote the personal part of the address correctly in it now
3. OTOH, don't do it in the composer: this fixes the bugs 633 and 486


Index: Address.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Address.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -u -2 -r1.7 -r1.8
--- Address.h   22 Nov 2001 22:13:19 -0000      1.7
+++ Address.h   26 Apr 2002 13:15:05 -0000      1.8
@@ -75,4 +75,8 @@
    static String NormalizeSubject(const String& subject);
 
+   /**
+    */
+   static String BuildFullForm(const String& personal, const String& address);
+
 protected:
    /// must have default ctor because we declare copy ctor private

Index: miscutil.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/miscutil.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -u -2 -r1.16 -r1.17
--- miscutil.h  19 Dec 2001 12:56:56 -0000      1.16
+++ miscutil.h  26 Apr 2002 13:15:05 -0000      1.17
@@ -25,25 +25,4 @@
 //@{
 
-/// construct the full email address of the form "name <email>"
-inline String GetFullEmailAddress(const String& name, const String& email)
-{
-   if ( !name )
-      return email;
-
-   String address(name);
-   if ( !email.empty() )
-   {
-      if ( !name.empty() )
-         address += " <";
-
-      address += email;
-
-      if ( !name.empty() )
-         address += '>';
-   }
-
-   return address;
-}
-
 class wxFrame;
 class MailFolder;


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to