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/AvatarHistory/src/AvatarDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AvatarHistory') diff --git a/plugins/AvatarHistory/src/AvatarDlg.cpp b/plugins/AvatarHistory/src/AvatarDlg.cpp index a352efd61b..4bbd6495e5 100644 --- a/plugins/AvatarHistory/src/AvatarDlg.cpp +++ b/plugins/AvatarHistory/src/AvatarDlg.cpp @@ -462,7 +462,7 @@ bool UpdateAvatarPic(HWND hwnd) } SetDlgItemText(hwnd, IDC_AVATARPATH, le->filename); - HBITMAP avpic = (HBITMAP)CallService(MS_IMG_LOAD, (WPARAM)le->filename, IMGL_WCHAR); + HBITMAP avpic = Bitmap_Load(le->filename); bool found_image = (avpic != nullptr); -- cgit v1.2.3