summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-12 18:06:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-12 18:06:38 +0300
commit4912fd0d994ac7b68b41bd8f3d08dcab89298023 (patch)
tree7374b4d6f85e1f3c154d6799d2176d6910add259 /plugins
parent3a9e5e8049dda17a8e5c7b70bfed411760f424be (diff)
- extra icons default changed from icon's name to icon's handle;
- Skin_GetIconName() considered obsolete and therefore removed;
Diffstat (limited to 'plugins')
-rw-r--r--plugins/AuthState/src/main.cpp2
-rw-r--r--plugins/SecureIM/src/loadicons.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp
index ffc7e229f5..fe60e1c114 100644
--- a/plugins/AuthState/src/main.cpp
+++ b/plugins/AuthState/src/main.cpp
@@ -152,7 +152,7 @@ int onPrebuildContactMenu(WPARAM hContact, LPARAM)
int onModulesLoaded(WPARAM, LPARAM)
{
// extra icons
- hExtraIcon = ExtraIcon_RegisterIcolib("authstate", LPGEN("Auth state"), iconList[ICON_BOTH].szName);
+ hExtraIcon = ExtraIcon_RegisterIcolib("authstate", LPGEN("Auth state"), iconList[ICON_BOTH].hIcolib);
// Set initial value for all contacts
for (auto &hContact : Contacts())
diff --git a/plugins/SecureIM/src/loadicons.cpp b/plugins/SecureIM/src/loadicons.cpp
index 6ae33f233d..5a1eea67a3 100644
--- a/plugins/SecureIM/src/loadicons.cpp
+++ b/plugins/SecureIM/src/loadicons.cpp
@@ -42,7 +42,7 @@ static icons[] =
{ IDI_OV_RSA, TBL_ICO, ICO_OV_RSA, MODULENAME "/" LPGEN("Overlays"), "sim_ov_rsa", LPGEN("RSA/AES mode") },
};
-HINSTANCE LoadIconsPack(const char* szIconsPack)
+HINSTANCE LoadIconsPack(const char *szIconsPack)
{
HINSTANCE hNewIconInst = LoadLibrary(szIconsPack);
if (hNewIconInst != nullptr) {