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

Modified Files:
        MessageView.cpp 
Log Message:
fixed compilation problem with wx 2.5

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.125
retrieving revision 1.126
diff -b -u -2 -r1.125 -r1.126
--- MessageView.cpp     22 Jul 2003 22:01:39 -0000      1.125
+++ MessageView.cpp     28 Jul 2003 19:47:53 -0000      1.126
@@ -1444,5 +1444,5 @@
                before = strutil_findurl(value, url);
 
-               if ( *url.c_str() == '<' )
+               if ( *url.c_str() == _T('<') )
                {
                   urlText = url;
@@ -1455,13 +1455,13 @@
                   while ( !before.empty() )
                   {
-                     char ch = before.Last();
+                     wxChar ch = before.Last();
                      switch ( ch )
                      {
-                        case '"':
+                        case _T('"'):
                            inQuotes = !inQuotes;
                            break;
 
-                        case ',':
-                        case ';':
+                        case _T(','):
+                        case _T(';'):
                            if ( !inQuotes )
                               stop = true;
@@ -1471,5 +1471,5 @@
                         break;
 
-                     urlText.insert(0, 1, ch);
+                     urlText.insert(0u, 1u, ch);
                      before.erase(before.length() - 1);
                   }



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to