ok'd by warren and gagan. pnunn.

git-svn-id: svn://10.0.0.236/trunk@36912 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pnunn%netscape.com 1999-06-25 19:50:58 +00:00
parent f0e721ab18
commit 072f26b556

View File

@ -373,13 +373,20 @@ net_register_new_converter(char *contenttype, char *command, char *xmode,
else if (!PL_strcasecmp(contenttype, IMAGE_GIF))
NET_RegisterContentTypeConverter (IMAGE_GIF,
FO_PRESENT,NULL, IL_ViewStream);
else if (!PL_strcasecmp(contenttype, IMAGE_ART)||
!PL_strcasecmp(contenttype, IMAGE_ART2))
NET_RegisterContentTypeConverter (IMAGE_ART, FO_PRESENT
,NULL, IL_ViewStream);
else if (!PL_strcasecmp(contenttype, IMAGE_XBM) ||
!PL_strcasecmp(contenttype, IMAGE_XBM2) ||
!PL_strcasecmp(contenttype, IMAGE_XBM3))
!PL_strcasecmp(contenttype, IMAGE_XBM2) ||
!PL_strcasecmp(contenttype, IMAGE_XBM3))
NET_RegisterContentTypeConverter (IMAGE_XBM,
FO_PRESENT,NULL, IL_ViewStream);
else if (!PL_strcasecmp(contenttype, IMAGE_JPG) ||
!PL_strcasecmp(contenttype, IMAGE_PJPG))
!PL_strcasecmp(contenttype, IMAGE_PJPG))
NET_RegisterContentTypeConverter (IMAGE_JPG,
FO_PRESENT,NULL, IL_ViewStream);