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

Modified Files:
        FolderType.h Mdefaults.h MimePart.h 
Log Message:
few fixes for Unicode compilation

Index: FolderType.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/FolderType.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -b -u -2 -r1.56 -r1.57
--- FolderType.h        22 Jul 2002 13:43:04 -0000      1.56
+++ FolderType.h        26 Aug 2002 16:06:33 -0000      1.57
@@ -210,5 +210,5 @@
    case MF_ILLEGAL:
    case MF_PROFILE:
-      FAIL_MSG("this is not supposed to be called for this type");
+      FAIL_MSG(_T("this is not supposed to be called for this type"));
       // fall through nevertheless
 
@@ -239,5 +239,5 @@
 inline int CombineFolderTypeAndFlags(MFolderType type, int flags)
 {
-   ASSERT_MSG( !(flags & MF_TYPEMASK), "flags shouldn't contain type" );
+   ASSERT_MSG( !(flags & MF_TYPEMASK), _T("flags shouldn't contain type") );
 
    return type | flags;
@@ -332,5 +332,5 @@
       case MF_ILLEGAL:
       case MF_PROFILE:
-         FAIL_MSG("this is not supposed to be called for this type");
+         FAIL_MSG(_T("this is not supposed to be called for this type"));
          // fall through nevertheless
 
@@ -370,5 +370,5 @@
       case MF_ILLEGAL:
       case MF_PROFILE:
-         FAIL_MSG("this is not supposed to be called for this type");
+         FAIL_MSG(_T("this is not supposed to be called for this type"));
          // fall through nevertheless
 

Index: Mdefaults.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Mdefaults.h,v
retrieving revision 1.254
retrieving revision 1.255
diff -b -u -2 -r1.254 -r1.255
--- Mdefaults.h 14 Apr 2002 12:46:01 -0000      1.254
+++ Mdefaults.h 26 Aug 2002 16:06:33 -0000      1.255
@@ -101,5 +101,5 @@
    long GetNumberValue() const
    {
-      ASSERT_MSG( m_kind == Number, "MOptionValue type mismatch" );
+      ASSERT_MSG( m_kind == Number, _T("MOptionValue type mismatch") );
 
       return m_number;
@@ -113,5 +113,5 @@
    String GetTextValue() const
    {
-      ASSERT_MSG( m_kind == Text, "MOptionValue type mismatch" );
+      ASSERT_MSG( m_kind == Text, _T("MOptionValue type mismatch") );
 
       return m_string;

Index: MimePart.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MimePart.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- MimePart.h  16 Apr 2002 13:45:40 -0000      1.5
+++ MimePart.h  26 Aug 2002 16:06:35 -0000      1.6
@@ -122,5 +122,5 @@
 
    /// get the full MIME string ("MESSAGE/RFC822")
-   String GetFull() const { return GetType() + '/' + GetSubType(); }
+   String GetFull() const { return GetType() + _T('/') + GetSubType(); }
 
    //@}



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to