diff options
Diffstat (limited to 'plugins/AVS')
-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;
}
|