зеркало из https://github.com/mozilla/gecko-dev.git
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]
This commit is contained in:
Родитель
6a0a2e5e89
Коммит
ff9316c192
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче