summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-26 22:33:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-26 22:33:18 +0300
commit38ee23df958a808c52a27ffd459fb65a264b48da (patch)
tree20d967d06b17c957e8a9cc92d1f3a3c37e58b74f /plugins
parent391980ce1e890445542441eeb5d9f9cc18ae1baf (diff)
fixes #1120 (missing popup skin)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Popup/src/bitmap_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/bitmap_funcs.cpp b/plugins/Popup/src/bitmap_funcs.cpp
index b1c5757a4d..cbce9cf707 100644
--- a/plugins/Popup/src/bitmap_funcs.cpp
+++ b/plugins/Popup/src/bitmap_funcs.cpp
@@ -730,7 +730,7 @@ bool MyBitmap::loadFromFile(const wchar_t *fn)
if (!wcsncmp(fn, L"gradient:", mir_wstrlen(L"gradient:")))
return loadFromFile_gradient(fn);
- HBITMAP hBmpLoaded = Bitmap_Load(fn);
+ HBITMAP hBmpLoaded = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)fn, IMGL_WCHAR);
if (!hBmpLoaded)
return false;