diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-19 13:55:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-19 13:55:39 +0000 |
commit | 77406964dd1c296e7ad26b2ef4c348048e193234 (patch) | |
tree | e855ba9dd905f36b24822e443ea60478b8c473fc /plugins/TabSRMM/src/mim.cpp | |
parent | fe3e180e32fe8461031e05a9d59914707d1ad8f6 (diff) |
variable names' normalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@11531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index a8442ef26f..03bac72347 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -281,7 +281,7 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode) if (hwnd == 0) fShow = true; else { - if (PluginConfig.m_HideOnClose) { + if (PluginConfig.m_bHideOnClose) { TContainerData *pContainer = 0; SendMessage(hwnd, DM_QUERYCONTAINER, 0, (LPARAM)&pContainer); if (pContainer && pContainer->fHidden) @@ -430,15 +430,15 @@ int CMimAPI::MessageEventAdded(WPARAM hContact, LPARAM lParam) CallServiceSync(MS_CLIST_REMOVEEVENT, hContact, 1); bool bAllowAutoCreate = false; - bool bAutoPopup = M.GetByte(SRMSGSET_AUTOPOPUP, SRMSGDEFSET_AUTOPOPUP) != 0; - bool bAutoCreate = M.GetByte("autotabs", 1) != 0; - bool bAutoContainer = M.GetByte("autocontainer", 1) != 0; + bool bAutoPopup = M.GetBool(SRMSGSET_AUTOPOPUP, SRMSGDEFSET_AUTOPOPUP); + bool bAutoCreate = M.GetBool("autotabs", true); + bool bAutoContainer = M.GetBool("autocontainer", true); DWORD dwStatusMask = M.GetDword("autopopupmask", -1); if (hwnd) { TContainerData *pTargetContainer = 0; SendMessage(hwnd, DM_QUERYCONTAINER, 0, (LPARAM)&pTargetContainer); - if (pTargetContainer == NULL || !PluginConfig.m_HideOnClose || IsWindowVisible(pTargetContainer->hwnd)) + if (pTargetContainer == NULL || !PluginConfig.m_bHideOnClose || IsWindowVisible(pTargetContainer->hwnd)) return 0; WINDOWPLACEMENT wp = { 0 }; |