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:
reed%reedloden.com 2008-03-08 11:26:50 +00:00
parent e967b85f44
commit 32b4090977

View File

@ -152,6 +152,7 @@ static const char* gImageMimeTypes[] = {
"image/x-icon",
"image/vnd.microsoft.icon",
"image/bmp",
"image/x-ms-bmp",
#endif
#ifdef IMG_BUILD_DECODER_png
"image/png",
@ -269,6 +270,10 @@ static const nsModuleComponentInfo components[] =
NS_BMPDECODER_CID,
"@mozilla.org/image/decoder;2?type=image/bmp",
nsBMPDecoderConstructor, },
{ "BMP Decoder",
NS_BMPDECODER_CID,
"@mozilla.org/image/decoder;2?type=image/x-ms-bmp",
nsBMPDecoderConstructor, },
#endif
#ifdef IMG_BUILD_DECODER_png