summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM/options.cpp')
-rw-r--r--plugins/TipperYM/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/options.cpp b/plugins/TipperYM/options.cpp
index 597f0eb76b..d5946cae76 100644
--- a/plugins/TipperYM/options.cpp
+++ b/plugins/TipperYM/options.cpp
@@ -1946,7 +1946,7 @@ INT_PTR CALLBACK DlgProcOptsSkin(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
if (opt.szPreviewFile[0])
{
HDC hdcMem = CreateCompatibleDC(dis->hDC);
- HBITMAP hbmpPreview = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)opt.szPreviewFile, 0);
+ HBITMAP hbmpPreview = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)opt.szPreviewFile, IMGL_TCHAR);
if (hbmpPreview)
{
int iWidth = dis->rcItem.right - dis->rcItem.left;