From 115f98866ceca0b37b9009f6bc1201f873cc5de4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Jan 2014 15:25:47 +0000 Subject: fix for late icons loading in tabSRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@7691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/chat_svc.cpp | 2 -- src/modules/chat/manager.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/chat') diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp index a04bfa861a..514345a7a0 100644 --- a/src/modules/chat/chat_svc.cpp +++ b/src/modules/chat/chat_svc.cpp @@ -83,8 +83,6 @@ static int FontsChanged(WPARAM wParam, LPARAM lParam) static int IconsChanged(WPARAM wParam, LPARAM lParam) { - LoadChatIcons(); - FreeMsgLogBitmaps(); LoadMsgLogBitmaps(); diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index 60ceb2181d..ed081db43a 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -876,6 +876,8 @@ static MODULEINFO* MM_AddModule(const char *pszModule) static void MM_IconsChanged(void) { + LoadChatIcons(); + MODULEINFO *pTemp = m_ModList; while (pTemp != NULL) { Safe_DestroyIcon(pTemp->hOnlineIcon); -- cgit v1.2.3