diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-01 05:46:36 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-01 05:46:36 +0000 |
commit | 84dedc9d7c81e97c9fc07f0ca97e34300b706e19 (patch) | |
tree | 80d5a1f424830a2b84340b54524eb7e2138cebb8 /plugins/TabSRMM/src/globals.cpp | |
parent | df60e52a47f80d89de55affae33d93f79e077885 (diff) |
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
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) {
/*
|