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/AVS/src | |
parent | ee89703abd075cacb396d86bfdf7e1dd4ce9d4d1 (diff) |
MS_IMG_LOAD replaced with Bitmap_Load where possible
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index 1ac14d16dc..a301e3895a 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -501,7 +501,7 @@ static int InternalSetMyAvatar(char *protocol, wchar_t *szFinalName, SetMyAvatar }
else {
// Try to open if is not a flash or XML
- hBmp = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)szFinalName, IMGL_WCHAR);
+ hBmp = Bitmap_Load(szFinalName);
if (hBmp == nullptr)
return -4;
}
|