summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/container.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-19 13:55:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-19 13:55:39 +0000
commit77406964dd1c296e7ad26b2ef4c348048e193234 (patch)
treee855ba9dd905f36b24822e443ea60478b8c473fc /plugins/TabSRMM/src/container.cpp
parentfe3e180e32fe8461031e05a9d59914707d1ad8f6 (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/container.cpp')
-rw-r--r--plugins/TabSRMM/src/container.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp
index fcb498da2e..03cf179670 100644
--- a/plugins/TabSRMM/src/container.cpp
+++ b/plugins/TabSRMM/src/container.cpp
@@ -1680,7 +1680,7 @@ panel_found:
break;
case WM_CLOSE:
- if (PluginConfig.m_HideOnClose && !lParam) {
+ if (PluginConfig.m_bHideOnClose && !lParam) {
ShowWindow(hwndDlg, SW_HIDE);
pContainer->fHidden = true;
}
@@ -1951,7 +1951,7 @@ void TSAPI CloseOtherTabs(HWND hwndTab, TWindowData &dat)
int TSAPI CutContactName(const TCHAR *oldname, TCHAR *newname, unsigned int size)
{
- size_t cutMax = PluginConfig.m_CutContactNameTo;
+ size_t cutMax = PluginConfig.m_iTabNameLimit;
if (mir_tstrlen(oldname) <= cutMax)
_tcsncpy_s(newname, size, oldname, _TRUNCATE);
@@ -2279,16 +2279,16 @@ void TSAPI BroadCastContainer(const TContainerData *pContainer, UINT message, WP
void TSAPI CloseAllContainers()
{
- BOOL fOldHideSetting = PluginConfig.m_HideOnClose;
+ bool fOldHideSetting = PluginConfig.m_bHideOnClose;
while (pFirstContainer != NULL) {
if (!IsWindow(pFirstContainer->hwnd))
pFirstContainer = pFirstContainer->pNext;
else {
- PluginConfig.m_HideOnClose = FALSE;
+ PluginConfig.m_bHideOnClose = false;
::SendMessage(pFirstContainer->hwnd, WM_CLOSE, 0, 1);
}
}
- PluginConfig.m_HideOnClose = fOldHideSetting;
+ PluginConfig.m_bHideOnClose = fOldHideSetting;
}