diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-09-14 19:25:29 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-09-14 19:25:29 +0000 |
commit | 98a324d2fb4babc09e94a10fef819f3409477eb2 (patch) | |
tree | 3db8dabae7922ae053d4748ba733d361d18f56df /plugins/UserInfoEx/src/dlg_propsheet.cpp | |
parent | 25f87650dab37f5a7380ae2121c7529cb3ac801a (diff) |
UserInfoEx: fix #685
git-svn-id: http://svn.miranda-ng.org/main/trunk@15353 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/dlg_propsheet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index ff76ea1994..1354e4cc50 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -274,7 +274,7 @@ static INT_PTR ShowDialog(WPARAM wParam, LPARAM) HICON hDefIcon = IcoLib_GetIcon(ICO_TREE_DEFAULT);
if (!hDefIcon)
- hDefIcon = (HICON)LoadImage(ghInst, MAKEINTRESOURCE(IDI_DEFAULT), IMAGE_ICON, metrics.x, metrics.y, 0);
+ hDefIcon = (HICON)IcoLib_GetIcon(ICO_COMMON_DEFAULT, false);
// add the default icon to imagelist
ImageList_AddIcon(psh._hImages, hDefIcon);
@@ -552,7 +552,7 @@ void DlgContactInfoInitTreeIcons() if (psh._hImages = ImageList_Create(metrics.x, metrics.y, ILC_COLOR32 | ILC_MASK, 0, 1)) {
HICON hDefIcon = IcoLib_GetIcon(ICO_TREE_DEFAULT);
if (!hDefIcon)
- hDefIcon = (HICON)LoadImage(ghInst, MAKEINTRESOURCE(IDI_DEFAULT), IMAGE_ICON, metrics.x, metrics.y, 0);
+ hDefIcon = (HICON)IcoLib_GetIcon(ICO_COMMON_DEFAULT, false);
// add the default icon to imagelist
ImageList_AddIcon(psh._hImages, hDefIcon);
|