summaryrefslogtreecommitdiff
path: root/plugins/AVS
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/AVS
parentee89703abd075cacb396d86bfdf7e1dd4ce9d4d1 (diff)
MS_IMG_LOAD replaced with Bitmap_Load where possible
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/services.cpp2
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;
}