From 77406964dd1c296e7ad26b2ef4c348048e193234 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 19 Dec 2014 13:55:39 +0000 Subject: variable names' normalization git-svn-id: http://svn.miranda-ng.org/main/trunk@11531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/mim.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/mim.h') diff --git a/plugins/TabSRMM/src/mim.h b/plugins/TabSRMM/src/mim.h index 56d9ebde8d..de661242da 100644 --- a/plugins/TabSRMM/src/mim.h +++ b/plugins/TabSRMM/src/mim.h @@ -116,8 +116,12 @@ public: static int __forceinline GetByte(const MCONTACT hContact, const char *szSetting, int uDefault) { return db_get_b(hContact, SRMSGMOD_T, szSetting, uDefault); } - static bool __forceinline GetBool(const char *szModule, const char *szSetting, bool uDefault) - { return db_get_b(0, szModule, szSetting, uDefault) != 0; } + static bool __forceinline GetBool(const char *szSetting, bool bDefault) + { return db_get_b(0, SRMSGMOD_T, szSetting, bDefault) != 0; } + static bool __forceinline GetBool(const char *szModule, const char *szSetting, bool bDefault) + { return db_get_b(0, szModule, szSetting, bDefault) != 0; } + static bool __forceinline GetBool(const MCONTACT hContact, const char *szSetting, bool bDefault) + { return db_get_b(hContact, SRMSGMOD_T, szSetting, bDefault) != 0; } /* * path utilities -- cgit v1.2.3