summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-17 22:40:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-17 22:41:14 +0300
commita455e6fe10fb1f60bc37b0585b9a55fc25597931 (patch)
treeaf38d76526a5875bc160c46284d1b67d4a48b3bb
parent5b9675f0504e65ccee46b1ecc304d14e4f0da770 (diff)
UINfoEx: fix for email extra-icon
(cherry picked from commit 087ace9a5839200528e15f8335e00ce99cc65140)
-rw-r--r--plugins/UserInfoEx/IconPacks/ice/src/icons.h8
-rw-r--r--plugins/UserInfoEx/src/svc_email.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/IconPacks/ice/src/icons.h b/plugins/UserInfoEx/IconPacks/ice/src/icons.h
index 46871836bd..7c2dfa7971 100644
--- a/plugins/UserInfoEx/IconPacks/ice/src/icons.h
+++ b/plugins/UserInfoEx/IconPacks/ice/src/icons.h
@@ -10,10 +10,10 @@
#define IDI_DLG_EMAIL 103
// dialog infobar & buttons
-#define IDI_ANNIVERSARY 104
-#define IDI_EXPORT 105
-#define IDI_IMPORT 106
-#define IDI_SEARCH 107
+#define IDI_ANNIVERSARY 104
+#define IDI_EXPORT 105
+#define IDI_IMPORT 106
+#define IDI_SEARCH 107
// common icons of details dialog pages
#define IDI_MIRANDA 108
diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp
index 2195bf7064..f8ca9bc814 100644
--- a/plugins/UserInfoEx/src/svc_email.cpp
+++ b/plugins/UserInfoEx/src/svc_email.cpp
@@ -127,7 +127,7 @@ static INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam)
static int OnCListApplyIcons(WPARAM wParam, LPARAM)
{
LPSTR val = Get(wParam);
- ExtraIcon_SetIcon(ghExtraIconSvc, wParam, (val) ? g_plugin.getIconHandle(IDI_DLG_EMAIL) : nullptr);
+ ExtraIcon_SetIcon(ghExtraIconSvc, wParam, (val) ? g_plugin.getIconHandle(IDI_BTN_EMAIL) : nullptr);
mir_free(val);
return 0;
}