From 101b82c2986b70a858e1a11c079256043647896d Mon Sep 17 00:00:00 2001 From: "scc%mozilla.org" Date: Wed, 13 Sep 2000 07:18:45 +0000 Subject: [PATCH] if you want a pointer to the characters, you're going to have to |.get()| it --- mailnews/mime/src/mimemsg.cpp | 2 +- mailnews/mime/src/mimemult.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/mime/src/mimemsg.cpp b/mailnews/mime/src/mimemsg.cpp index 6889002e49bf..d11a947c10c6 100644 --- a/mailnews/mime/src/mimemsg.cpp +++ b/mailnews/mime/src/mimemsg.cpp @@ -453,7 +453,7 @@ HG09091 if (input_charset) { if (!nsCRT::strcasecmp(input_charset, "us-ascii")) - SetMailCharacterSetToMsgWindow(obj, NS_LITERAL_STRING("ISO-8859-1")); + SetMailCharacterSetToMsgWindow(obj, NS_LITERAL_STRING("ISO-8859-1").get()); else SetMailCharacterSetToMsgWindow(obj, NS_ConvertASCIItoUCS2(input_charset)); } diff --git a/mailnews/mime/src/mimemult.cpp b/mailnews/mime/src/mimemult.cpp index c3d7fd6763dd..c04efce820e4 100644 --- a/mailnews/mime/src/mimemult.cpp +++ b/mailnews/mime/src/mimemult.cpp @@ -221,7 +221,7 @@ MimeMultipart_parse_line (char *line, PRInt32 length, MimeObject *obj) { // Also set this charset to msgWindow if (!nsCRT::strcasecmp(cset, "us-ascii")) - SetMailCharacterSetToMsgWindow(obj, NS_LITERAL_STRING("ISO-8859-1")); + SetMailCharacterSetToMsgWindow(obj, NS_LITERAL_STRING("ISO-8859-1").get()); else SetMailCharacterSetToMsgWindow(obj, NS_ConvertASCIItoUCS2(cset)); }