From 4286ce11a7ef21e3bf7329c58405548d7082c763 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Nov 2014 22:07:20 +0000 Subject: another compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@11141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/LotusNotify/src/LotusNotify.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'plugins/LotusNotify/src') 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); -- cgit v1.2.3