Bug 262505 - "image/x-ms-bmp MIME type not recognized as BMP picture" [p=sciguyryan@gmail.com (Ryan Jones) r+sr=stuart a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247384 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e967b85f44
commit
32b4090977
@ -152,6 +152,7 @@ static const char* gImageMimeTypes[] = {
|
|||||||
"image/x-icon",
|
"image/x-icon",
|
||||||
"image/vnd.microsoft.icon",
|
"image/vnd.microsoft.icon",
|
||||||
"image/bmp",
|
"image/bmp",
|
||||||
|
"image/x-ms-bmp",
|
||||||
#endif
|
#endif
|
||||||
#ifdef IMG_BUILD_DECODER_png
|
#ifdef IMG_BUILD_DECODER_png
|
||||||
"image/png",
|
"image/png",
|
||||||
@ -269,6 +270,10 @@ static const nsModuleComponentInfo components[] =
|
|||||||
NS_BMPDECODER_CID,
|
NS_BMPDECODER_CID,
|
||||||
"@mozilla.org/image/decoder;2?type=image/bmp",
|
"@mozilla.org/image/decoder;2?type=image/bmp",
|
||||||
nsBMPDecoderConstructor, },
|
nsBMPDecoderConstructor, },
|
||||||
|
{ "BMP Decoder",
|
||||||
|
NS_BMPDECODER_CID,
|
||||||
|
"@mozilla.org/image/decoder;2?type=image/x-ms-bmp",
|
||||||
|
nsBMPDecoderConstructor, },
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef IMG_BUILD_DECODER_png
|
#ifdef IMG_BUILD_DECODER_png
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user