diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-08 21:23:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-08 21:23:00 +0300 |
commit | fc99e176ada8bb07d55929bcfcf8733f6bd95831 (patch) | |
tree | 0b7caeb6602944e7bd26931af20bc04f3a12f79f /plugins/TipperYM/src/bitmap_func.cpp | |
parent | 64bcf1b8fd453638fd24810318fa8716c0b1c249 (diff) |
IMGL_WCHAR removed, all paths are in Unicode now
Diffstat (limited to 'plugins/TipperYM/src/bitmap_func.cpp')
-rw-r--r-- | plugins/TipperYM/src/bitmap_func.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/bitmap_func.cpp b/plugins/TipperYM/src/bitmap_func.cpp index d2f7f561b5..1bc5552107 100644 --- a/plugins/TipperYM/src/bitmap_func.cpp +++ b/plugins/TipperYM/src/bitmap_func.cpp @@ -154,8 +154,9 @@ void CreateFromBitmaps(bool bServiceTip) if (tszFileName && *tszFileName != 0) {
FIBITMAP *fib = nullptr;
if (!skin.bCached) {
- FIBITMAP *fibLoad = (FIBITMAP *)Image_Load(tszFileName, IMGL_WCHAR | IMGL_RETURNDIB);
- if (!fibLoad) continue;
+ FIBITMAP *fibLoad = (FIBITMAP *)Image_Load(tszFileName, IMGL_RETURNDIB);
+ if (!fibLoad)
+ continue;
if (FreeImage_GetBPP(fibLoad) != 32)
fib = FreeImage_ConvertTo32Bits(fibLoad);
|