diff options
author | aunsane <aunsane@gmail.com> | 2018-03-09 16:27:13 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-03-09 16:27:34 +0300 |
commit | 36fb9aa89dc136bfb225f8eee661b9d1c9e47210 (patch) | |
tree | 0c2939edb7a28533a69129159a13f27651734710 /src/mir_app | |
parent | e53a47a7756e45ca8ea5802d6b0955ad82873e32 (diff) |
FreeImage: initialization order of internal plugins MUST pe same order as used in FREE_IMAGE_FORMAT enum (fixed #1177)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/image_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/image_utils.cpp b/src/mir_app/src/image_utils.cpp index 0e1a3632e8..ee80b786ac 100644 --- a/src/mir_app/src/image_utils.cpp +++ b/src/mir_app/src/image_utils.cpp @@ -216,7 +216,7 @@ MIR_APP_DLL(int) Image_Save(const IMGSRVC_INFO *isi, int iFlags) return 0; int ret = 0; - if (fif == FIF_PNG || fif == FIF_BMP || fif == FIF_JNG) + if (fif == FIF_PNG || fif == FIF_BMP/* || fif == FIF_JNG*/) ret = FreeImage_SaveU(fif, dib, isi->pwszName, iFlags); else { FIBITMAP *dib_new = FreeImage_ConvertTo24Bits(dib); |