39370: Use format=flowed for quoting

This commit is contained in:
mozilla.BenB%bucksch.org 2000-07-06 01:45:02 +00:00
parent 5c91e66869
commit 0beb9ebea4

View File

@ -343,13 +343,8 @@ mime_find_class (const char *content_type, MimeHeaders *hdrs,
? MimeHeaders_get_parameter(content_type_row, "format", NULL, NULL) ? MimeHeaders_get_parameter(content_type_row, "format", NULL, NULL)
: 0); : 0);
PRBool doFormatFlowed = PR_TRUE; if (content_type_format && !nsCRT::strcasecmp(content_type_format,
if ( (opts) && ( (opts->format_out == nsMimeOutput::nsMimeMessageQuoting) || "flowed"))
(opts->format_out == nsMimeOutput::nsMimeMessageBodyQuoting)) )
doFormatFlowed = PR_FALSE;
if ( content_type_format && (!nsCRT::strcasecmp(content_type_format, "flowed"))
&& doFormatFlowed)
clazz = (MimeObjectClass *)&mimeInlineTextPlainFlowedClass; clazz = (MimeObjectClass *)&mimeInlineTextPlainFlowedClass;
else else
clazz = (MimeObjectClass *)&mimeInlineTextPlainClass; clazz = (MimeObjectClass *)&mimeInlineTextPlainClass;