summaryrefslogtreecommitdiff
path: root/plugins/Variables/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-30 16:52:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-30 16:52:28 +0300
commit64303ec8f7d8fd491247a2c06ee133e4f5f3c942 (patch)
treefd57755518819e33a7ed03c8fef389396c0d61df /plugins/Variables/src
parent1043ccf5d184151af43a417cd6e6c1a800b678dd (diff)
Contact lists:
- all common options moved to the Clist namespace; - fixes #2281 (Add option to not clear "NotOnList" group at start);
Diffstat (limited to 'plugins/Variables/src')
-rw-r--r--plugins/Variables/src/help.cpp2
-rw-r--r--plugins/Variables/src/stdafx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/help.cpp b/plugins/Variables/src/help.cpp
index 4999207416..4eece0aa35 100644
--- a/plugins/Variables/src/help.cpp
+++ b/plugins/Variables/src/help.cpp
@@ -91,7 +91,7 @@ static INT_PTR CALLBACK extratextDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPA
// dialog box for the %subject% selection
void ResetCList(HWND hwndDlg)
{
- SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, db_get_b(0, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT), 0);
+ SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETUSEGROUPS, Clist::UseGroups, 0);
SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_SETHIDEEMPTYGROUPS, 1, 0);
}
diff --git a/plugins/Variables/src/stdafx.h b/plugins/Variables/src/stdafx.h
index eafbd6c219..c124a6df5b 100644
--- a/plugins/Variables/src/stdafx.h
+++ b/plugins/Variables/src/stdafx.h
@@ -37,7 +37,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <m_langpack.h>
#include <m_database.h>
#include <m_protosvc.h>
-#include <m_clist.h>
+#include <m_clistint.h>
#include <m_contacts.h>
#include <m_options.h>
#include <m_icolib.h>