From fe83051082d1509bd653b718f119f884646d20e5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jan 2018 18:59:51 +0300 Subject: MS_IMG_LOAD replaced with Bitmap_Load where possible --- plugins/AVS/src/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AVS') 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; } -- cgit v1.2.3