From 4912fd0d994ac7b68b41bd8f3d08dcab89298023 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 12 Apr 2019 18:06:38 +0300 Subject: - extra icons default changed from icon's name to icon's handle; - Skin_GetIconName() considered obsolete and therefore removed; --- plugins/AuthState/src/main.cpp | 2 +- plugins/SecureIM/src/loadicons.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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) { -- cgit v1.2.3