Backed out hack for loading image problems in Composer. The correct mime converter is now being used

This commit is contained in:
cmanske%netscape.com 1998-07-30 02:20:52 +00:00
Родитель 04242f2058
Коммит b6d45e4eee
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -220,7 +220,7 @@ IL_ViewStream(FO_Present_Types format_out, void *newshack, URL_Struct *urls,
so we use the converter we did in 4.06 code.
If we don't, this code triggers parsing of the image URL,
which has very bad effects in the editor! */
if((iurl->GetOwnerId() == 0x000000ED) || reader->IsMulti()) {
if( reader->IsMulti() ) {
NS_RELEASE(reader);
return IL_NewStream(format_out, IL_UNKNOWN, urls, cx);
}