summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-28 19:06:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-28 19:06:11 +0000
commit7fd3863d1a8da7ad32f44762792c1df82eebf5bf (patch)
tree187546c4794422fe40d0b050cc2d3d7e99290bb0 /plugins/MenuItemEx/src/options.cpp
parent523946a503e7fdb5f62aea1fba28400cb1872c95 (diff)
added precompiled header
git-svn-id: http://svn.miranda-ng.org/main/trunk@3808 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MenuItemEx/src/options.cpp')
-rw-r--r--plugins/MenuItemEx/src/options.cpp5
1 files changed, 2 insertions, 3 deletions
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;
}