diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-26 18:59:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-26 18:59:51 +0300 |
commit | fe83051082d1509bd653b718f119f884646d20e5 (patch) | |
tree | 4d0214441d96d26cadab85b421e0921d999730b3 /plugins/SplashScreen | |
parent | ee89703abd075cacb396d86bfdf7e1dd4ce9d4d1 (diff) |
MS_IMG_LOAD replaced with Bitmap_Load where possible
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r-- | plugins/SplashScreen/src/bitmap_funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SplashScreen/src/bitmap_funcs.cpp b/plugins/SplashScreen/src/bitmap_funcs.cpp index b5d1738832..9918d28790 100644 --- a/plugins/SplashScreen/src/bitmap_funcs.cpp +++ b/plugins/SplashScreen/src/bitmap_funcs.cpp @@ -131,7 +131,7 @@ bool MyBitmap::loadFromFile(wchar_t *fn) {
if (bits) free();
- HBITMAP hBmpLoaded = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)fn, IMGL_WCHAR);
+ HBITMAP hBmpLoaded = Bitmap_Load(fn);
if (!hBmpLoaded) {
#ifdef _DEBUG
logMessage(L"MyBitmap::loadFromFile", L"Bitmap load failed");
|