summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-28 22:07:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-28 22:07:20 +0000
commit4286ce11a7ef21e3bf7329c58405548d7082c763 (patch)
tree30aaa96302b16d94296992f7636ae043b3947ecd /plugins
parentd9bcb8029e8ac6b1ddee53908419d47d08a0d6a7 (diff)
another compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/LotusNotify/src/LotusNotify.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp
index 4898650d87..31bae3b326 100644
--- a/plugins/LotusNotify/src/LotusNotify.cpp
+++ b/plugins/LotusNotify/src/LotusNotify.cpp
@@ -957,15 +957,13 @@ void lookupLotusDefaultSettings(HWND hwndDlg)
}
-//get variables values stored in db.
+// get variables values stored in db.
void LoadSettings()
{
settingInterval = (INT)db_get_dw(NULL, PLUGINNAME, "LNInterval", 15);
settingInterval1 = (INT)db_get_dw(NULL, PLUGINNAME, "LNInterval1", 0);
- //if(!db_get(NULL, PLUGINNAME, "LNInterval1",&dbv))
- // settingInterval1 = int(dbv.lVal);
- //db_free(&dbv);
- //settingInterval=dbv.lVal;
+
+ DBVARIANT dbv;
if(!db_get_s(NULL, PLUGINNAME, "LNDatabase", &dbv)){
strncpy_s(settingDatabase, _countof(settingDatabase), dbv.pszVal, SIZEOF(settingDatabase));
db_free(&dbv);
@@ -1016,7 +1014,6 @@ void LoadSettings()
settingIniAnswer = db_get_b(NULL, PLUGINNAME, "LNIniAnswer", 0);
settingIniCheck = db_get_b(NULL, PLUGINNAME, "LNIniCheck", 0);
- DBVARIANT dbv;
for(int i = 0; i < STATUS_COUNT; i++) {
char buff[128];
mir_snprintf(buff, SIZEOF(buff), "LNStatus%d", i);