mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
ok'd by warren and gagan. pnunn.
This commit is contained in:
parent
9ecc5f22b1
commit
2c1aa4241a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user