From 53ff16b147c30de05cd21e3f97b0ae0106dd9566 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Oct 2017 22:47:10 +0300 Subject: the whole idea of customizable colors in chat considered totally useless --- plugins/TabSRMM/src/chat_tools.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'plugins/TabSRMM/src/chat_tools.cpp') diff --git a/plugins/TabSRMM/src/chat_tools.cpp b/plugins/TabSRMM/src/chat_tools.cpp index 463b48320f..2377e9a7e4 100644 --- a/plugins/TabSRMM/src/chat_tools.cpp +++ b/plugins/TabSRMM/src/chat_tools.cpp @@ -451,19 +451,6 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight return TRUE; } -int Chat_GetColorIndex(const char* pszModule, COLORREF cr) -{ - MODULEINFO *pMod = pci->MM_FindModule(pszModule); - if (!pMod || pMod->nColorCount == 0) - return -1; - - for (int i = 0; i < pMod->nColorCount; i++) - if (pMod->crColors[i] == cr) - return i; - - return -1; -} - wchar_t* my_strstri(const wchar_t* s1, const wchar_t* s2) { int i, j, k; -- cgit v1.2.3