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

Modified Files:
        wxComposeView.cpp 
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: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.273
retrieving revision 1.274
diff -b -u -2 -r1.273 -r1.274
--- wxComposeView.cpp   14 Apr 2002 09:17:16 -0000      1.273
+++ wxComposeView.cpp   26 Apr 2002 13:15:06 -0000      1.274
@@ -1694,22 +1694,5 @@
                newText += CANONIC_ADDRESS_SEPARATOR;
 
-            wxString address(expansions[nExp]);
-
-            // sometimes we must quote the address
-            bool doQuote = strpbrk(address, ",;\"") != (const char *)NULL;
-            if ( doQuote )
-            {
-               newText += '"';
-
-               // escape all quotes
-               address.Replace("\"", "\\\"");
-            }
-
-            newText += address;
-
-            if ( doQuote )
-            {
-               newText += '"';
-            }
+            newText += expansions[nExp];
          }
       }


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

Reply via email to