summaryrefslogtreecommitdiff
path: root/src/modules/clist/groups.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-07 11:42:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-07 11:42:28 +0000
commit197fe77f67654cf8c46c53376190fc321176c08b (patch)
tree1a161cf7fb7968e3781b1d11771195d9b5e4c26c /src/modules/clist/groups.cpp
parent4bcab3fc00696ca2daf1396bfc75bd49009644d6 (diff)
old database macros removed from m_database.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@1796 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/groups.cpp')
-rw-r--r--src/modules/clist/groups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp
index 740ed163a8..931a06d36e 100644
--- a/src/modules/clist/groups.cpp
+++ b/src/modules/clist/groups.cpp
@@ -164,7 +164,7 @@ static INT_PTR DeleteGroup(WPARAM wParam, LPARAM)
return 1;
lstrcpyn(name, dbv.ptszVal + 1, SIZEOF(name));
DBFreeVariant(&dbv);
- if (DBGetContactSettingByte(NULL, "CList", "ConfirmDelete", SETTING_CONFIRMDELETE_DEFAULT))
+ if (db_get_b(NULL, "CList", "ConfirmDelete", SETTING_CONFIRMDELETE_DEFAULT))
{
TCHAR szQuestion[256+100];
mir_sntprintf(szQuestion, SIZEOF(szQuestion), TranslateT("Are you sure you want to delete group '%s'? This operation can not be undone."), name);