mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
if you want a pointer to the characters, you're going to have to |.get()| it
This commit is contained in:
parent
5acad16fdf
commit
101b82c298
@ -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));
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user