Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv15681/src/classes
Modified Files:
MessageView.cpp
Log Message:
repackaged Nerijus' changes in a cleaner way
Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -b -u -2 -r1.81 -r1.82
--- MessageView.cpp 16 Apr 2002 18:23:51 -0000 1.81
+++ MessageView.cpp 16 Apr 2002 19:15:33 -0000 1.82
@@ -1145,7 +1145,8 @@
{
// special handling for the UTF-7|8 if it's not supported natively
- if ( encHeader == wxFONTENCODING_UTF8 || encHeader == wxFONTENCODING_UTF7 )
+ if ( encHeader == wxFONTENCODING_UTF8 ||
+ encHeader == wxFONTENCODING_UTF7 )
{
- encHeader = ConvertUnicodeToSystem(&value, encHeader ==
wxFONTENCODING_UTF7);
+ encHeader = ConvertUnicodeToSystem(&value, encHeader);
}
}
@@ -1243,5 +1244,5 @@
// convert from UTF-8|7 to environment's default encoding
- encPart = ConvertUnicodeToSystem(&textPart, encPart == wxFONTENCODING_UTF7);
+ encPart = ConvertUnicodeToSystem(&textPart, encPart);
}
else if ( encPart == wxFONTENCODING_SYSTEM ||
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates