From 4a1f343d8684deaaa67e6ee56f0769b8bab8d6c8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 4 Jun 2019 11:40:30 +0300 Subject: tabSRMM: - duplicate code removed; - code cleaning --- plugins/TabSRMM/src/chat_options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/chat_options.cpp') diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 1ecc58c897..c15aca56c1 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -255,10 +255,10 @@ static IconItem _logicons[] = }; // add icons to the skinning module -void Chat_AddIcons(void) +void Chat_AddIcons(HINSTANCE hIconDll) { - Icon_Register(g_hIconDLL, LPGEN("Message Sessions") "/" LPGEN("Group chat windows"), _icons, _countof(_icons), 0, &g_plugin); - Icon_Register(g_hIconDLL, LPGEN("Message Sessions") "/" LPGEN("Group chat log"), _logicons, _countof(_logicons), 0, &g_plugin); + Icon_Register(hIconDll, LPGEN("Message Sessions") "/" LPGEN("Group chat windows"), _icons, _countof(_icons), 0, &g_plugin); + Icon_Register(hIconDll, LPGEN("Message Sessions") "/" LPGEN("Group chat log"), _logicons, _countof(_logicons), 0, &g_plugin); g_chatApi.MM_IconsChanged(); } -- cgit v1.2.3