fix wensleydale SunOS/sparc 5.6 Dep build bustage.

This commit is contained in:
ducarroz%netscape.com 2000-01-28 07:17:29 +00:00
Родитель 1a6d2baec7
Коммит d0cf3c4ef1
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -1308,8 +1308,10 @@ mime_parse_stream_complete (nsMIMESession *stream)
#ifdef NS_DEBUG
printf("Time to create the composition window WITH a body!!!!\n");
#endif
MSG_ComposeType type = mdd->forwardInline ? nsIMsgCompType::ForwardInline : nsIMsgCompType::Draft;
CreateTheComposeWindow(fields, newAttachData, type, composeFormat, mdd->identity);
if (mdd->forwardInline)
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::ForwardInline, composeFormat, mdd->identity);
else
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::Draft, composeFormat, mdd->identity);
}
PR_FREEIF(body);
@ -1331,8 +1333,10 @@ mime_parse_stream_complete (nsMIMESession *stream)
#ifdef NS_DEBUG
printf("Time to create the composition window WITHOUT a body!!!!\n");
#endif
MSG_ComposeType type = mdd->forwardInline ? nsIMsgCompType::ForwardInline : nsIMsgCompType::Draft;
CreateTheComposeWindow(fields, newAttachData, type, nsIMsgCompFormat::Default, mdd->identity);
if (mdd->forwardInline)
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::ForwardInline, nsIMsgCompFormat::Default, mdd->identity);
else
CreateTheComposeWindow(fields, newAttachData, nsIMsgCompType::Draft, nsIMsgCompFormat::Default, mdd->identity);
}
}
}