summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-21 07:14:20 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-21 07:14:20 +0000
commite3c5e2d3c36dded39795fb065b382452a9259084 (patch)
tree6717269cae3685d5e30d42de51aafccec3d22f16 /plugins/TipperYM/options.cpp
parent8e2c9664fc513802d8dee642f4214c227e227993 (diff)
Tipper:
*Support for Unicode Fingerprint Service (if it exists) *Fix for the preview image (seems there is a bug in m_folders.h, will ask Eblis) *minor optimization git-svn-id: http://svn.miranda-ng.org/main/trunk@114 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;