From f4fac2038f723df23d1771e8632ad3d74357f8e5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 19 Jan 2014 21:40:51 +0000 Subject: - chat log background color setting merged with kernel chats; - constants for chat modules git-svn-id: http://svn.miranda-ng.org/main/trunk@7780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/chat/clist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/chat/clist.cpp') diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp index 658076cd09..ce9680cb32 100644 --- a/src/modules/chat/clist.cpp +++ b/src/modules/chat/clist.cpp @@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HANDLE AddRoom(const char *pszModule, const TCHAR *pszRoom, const TCHAR *pszDisplayName, int iType) { TCHAR pszGroup[50]; *pszGroup = '\0'; - ptrT groupName(db_get_tsa(NULL, "Chat", "AddToGroup")); + ptrT groupName(db_get_tsa(NULL, CHAT_MODULE, "AddToGroup")); if (groupName) _tcsncpy_s(pszGroup, SIZEOF(pszGroup), groupName, _TRUNCATE); else @@ -121,7 +121,7 @@ int RoomDoubleclicked(WPARAM wParam, LPARAM lParam) if (si) { // is the "toggle visibility option set, so we need to close the window? if (si->hWnd != NULL && - db_get_b(NULL, "Chat", "ToggleVisibility", 0) == 1 && + db_get_b(NULL, CHAT_MODULE, "ToggleVisibility", 0) == 1 && !CallService(MS_CLIST_GETEVENT, (WPARAM)hContact, 0) && IsWindowVisible(si->hWnd) && !IsIconic(si->hWnd)) { -- cgit v1.2.3