summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-16 12:53:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-16 12:55:17 +0300
commitb996b817ffa3e54694eccfd061bef177e25ec0f0 (patch)
treed3e25498570ef046c3d579f861f2977cada8101a /plugins/TabSRMM/src/msgs.cpp
parent69c00c5b8999f66f27475342c78cc4488959e8bb (diff)
tabSRMM: fix for saving private container options
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 067b9a5290..ca10099448 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -699,10 +699,10 @@ HWND TSAPI CreateNewTabForContact(TContainerData *pContainer, MCONTACT hContact,
wchar_t *szStatus = pcli->pfnGetStatusModeDescription(szProto == nullptr ? ID_STATUS_OFFLINE : db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0);
- if (M.GetByte("tabstatus", 1))
- mir_snwprintf(tabtitle, L"%s (%s) ", newcontactname, szStatus);
+ if (PluginConfig.m_bStatusOnTabs)
+ mir_snwprintf(tabtitle, L"%s (%s)", newcontactname, szStatus);
else
- mir_snwprintf(tabtitle, L"%s ", newcontactname);
+ mir_snwprintf(tabtitle, L"%s", newcontactname);
HWND hwndTab = GetDlgItem(pContainer->hwnd, IDC_MSGTABS);
// hide the active tab