From 82ae452fff08430d514f762f49e78fec90f88625 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 17 Mar 2013 15:06:11 +0000 Subject: - rest of memory leaks - code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@4078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/opt_class.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Popup/src/opt_class.cpp') diff --git a/plugins/Popup/src/opt_class.cpp b/plugins/Popup/src/opt_class.cpp index 246eef9bfa..eb4978b1d6 100644 --- a/plugins/Popup/src/opt_class.cpp +++ b/plugins/Popup/src/opt_class.cpp @@ -500,7 +500,7 @@ void LoadClassSettings(POPUPTREEDATA *ptd, char* szModul) mir_snprintf(setting, sizeof(setting), "%s/enabled", ptd->pupClass.pszName); ptd->enabled = - (signed char)DBGetContactSettingByte(NULL, szModul, setting, TRUE); + (signed char)db_get_b(NULL, szModul, setting, TRUE); mir_snprintf(setting, sizeof(setting), "%s/Timeout", ptd->pupClass.pszName); ptd->pupClass.iSeconds = @@ -527,7 +527,7 @@ void SaveClassSettings(POPUPTREEDATA *ptd, char* szModul) char setting[2*MAXMODULELABELLENGTH]; mir_snprintf(setting, sizeof(setting), "%s/enabled", ptd->pupClass.pszName); - DBWriteContactSettingByte(NULL, szModul, setting, ptd->enabled); + db_set_b(NULL, szModul, setting, ptd->enabled); mir_snprintf(setting, sizeof(setting), "%s/Timeout", ptd->pupClass.pszName); DBWriteContactSettingWord(NULL, szModul, setting, ptd->pupClass.iSeconds); -- cgit v1.2.3