diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-19 21:40:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-19 21:40:51 +0000 |
commit | f4fac2038f723df23d1771e8632ad3d74357f8e5 (patch) | |
tree | 1216113e31072a4556c492b0978825826ee18925 /src/modules/chat/clist.cpp | |
parent | 6b4cfc3055b541413333c8af4a3b141027a4daa9 (diff) |
- 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
Diffstat (limited to 'src/modules/chat/clist.cpp')
-rw-r--r-- | src/modules/chat/clist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))
{
|