Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1:/tmp/cvs-serv28665/src/mail

Modified Files:
        Address.cpp 
Log Message:
VC++ warning fix

Index: Address.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/Address.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -b -u -2 -r1.14 -r1.15
--- Address.cpp 17 Oct 2003 14:36:10 -0000      1.14
+++ Address.cpp 18 Oct 2003 22:54:03 -0000      1.15
@@ -344,6 +344,11 @@
          {
             bool alpha = true;
-            for( size_t word = each+1; word < colon; ++word )
-               alpha &= wxIsalpha(original[word]) != 0;
+            for( size_t word = each+1; alpha && word < colon; ++word )
+            {
+               // VZ: not sure that we want to use (locale-dependent)
+               //     wxIsalpha() here, please check
+               if ( !wxIsalpha(original[word]) )
+                  alpha = false;
+            }
             
             if( alpha )



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to