summaryrefslogtreecommitdiff
path: root/plugins/TipperYM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-26 18:59:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-26 18:59:51 +0300
commitfe83051082d1509bd653b718f119f884646d20e5 (patch)
tree4d0214441d96d26cadab85b421e0921d999730b3 /plugins/TipperYM
parentee89703abd075cacb396d86bfdf7e1dd4ce9d4d1 (diff)
MS_IMG_LOAD replaced with Bitmap_Load where possible
Diffstat (limited to 'plugins/TipperYM')
-rw-r--r--plugins/TipperYM/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/options.cpp b/plugins/TipperYM/src/options.cpp
index 3b4beff698..f9035502db 100644
--- a/plugins/TipperYM/src/options.cpp
+++ b/plugins/TipperYM/src/options.cpp
@@ -1759,7 +1759,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, IMGL_WCHAR);
+ HBITMAP hbmpPreview = Bitmap_Load(opt.szPreviewFile);
if (hbmpPreview) {
int iWidth = dis->rcItem.right - dis->rcItem.left;
int iHeight = dis->rcItem.bottom - dis->rcItem.top;