From 84dedc9d7c81e97c9fc07f0ca97e34300b706e19 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 1 Feb 2013 05:46:36 +0000 Subject: common options for all logs moved to always visible settings git-svn-id: http://svn.miranda-ng.org/main/trunk@3383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/globals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/globals.cpp') diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 16e335c2c8..f05f0f9ff3 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -248,7 +248,7 @@ void CGlobals::reloadSettings(bool fReloadSkins) m_CutContactNameTo = (int) DBGetContactSettingWord(NULL, SRMSGMOD_T, "cut_at", 15); m_CutContactNameOnTabs = (int)M->GetByte("cuttitle", 0); m_StatusOnTabs = (int)M->GetByte("tabstatus", 1); - m_LogStatusChanges = (int)dwFlags & MWF_LOG_STATUSCHANGES; + m_LogStatusChanges = (int)M->GetByte("logstatuschanges", 0); m_UseDividers = (int)M->GetByte("usedividers", 0); m_DividersUsePopupConfig = (int)M->GetByte("div_popupconfig", 0); m_MsgTimeout = (int)M->GetDword(SRMSGMOD, SRMSGSET_MSGTIMEOUT, SRMSGDEFSET_MSGTIMEOUT); @@ -746,7 +746,7 @@ void CGlobals::logStatusChange(WPARAM wParam, const CContactCache *c) DWORD dwMask = M->GetDword(hContact, SRMSGMOD_T, "mwmask", 0); DWORD dwFlags = M->GetDword(hContact, SRMSGMOD_T, "mwflags", 0); - bool fLocal = ((dwMask & MWF_LOG_STATUSCHANGES) ? (dwFlags & MWF_LOG_STATUSCHANGES ? true : false) : false); + bool fLocal = M->GetByte(hContact, "logstatuschanges", 0); if (fGlobal || fLocal) { /* -- cgit v1.2.3