From fc99e176ada8bb07d55929bcfcf8733f6bd95831 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 8 Mar 2018 21:23:00 +0300 Subject: IMGL_WCHAR removed, all paths are in Unicode now --- plugins/TipperYM/src/bitmap_func.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TipperYM') 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); -- cgit v1.2.3