From 7fd3863d1a8da7ad32f44762792c1df82eebf5bf Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 28 Feb 2013 19:06:11 +0000 Subject: added precompiled header git-svn-id: http://svn.miranda-ng.org/main/trunk@3808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/MenuItemEx/src/options.cpp') diff --git a/plugins/MenuItemEx/src/options.cpp b/plugins/MenuItemEx/src/options.cpp index 9b9fadc838..106c77453a 100644 --- a/plugins/MenuItemEx/src/options.cpp +++ b/plugins/MenuItemEx/src/options.cpp @@ -1,6 +1,5 @@ #include "menuex.h" - extern HINSTANCE hinstance; extern BOOL bPopUpService; @@ -31,7 +30,7 @@ static const checkboxes[]={ INT_PTR CALLBACK OptionsProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) { - DWORD flags=DBGetContactSettingDword(NULL,VISPLG,"flags",vf_default); + DWORD flags = db_get_dw(NULL, MODULENAME, "flags", vf_default); TCHAR buffer[64] = {0}; int i; @@ -89,7 +88,7 @@ INT_PTR CALLBACK OptionsProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) } //DBDeleteContactSetting(NULL,VISPLG,"flags"); - DBWriteContactSettingDword(NULL,VISPLG,"flags",mod_flags); + db_set_dw(NULL, MODULENAME, "flags", mod_flags); return 1; } -- cgit v1.2.3