diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-16 12:53:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-16 12:55:17 +0300 |
commit | b996b817ffa3e54694eccfd061bef177e25ec0f0 (patch) | |
tree | d3e25498570ef046c3d579f861f2977cada8101a /plugins/TabSRMM/src/msgs.cpp | |
parent | 69c00c5b8999f66f27475342c78cc4488959e8bb (diff) |
tabSRMM: fix for saving private container options
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 6 |
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
|