if you want a pointer to the characters, you're going to have to |.get()| it

This commit is contained in:
scc%mozilla.org 2000-09-13 07:18:45 +00:00
parent 5acad16fdf
commit 101b82c298
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}

View File

@ -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));
}