summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.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/msgdialog.cpp
parent69c00c5b8999f66f27475342c78cc4488959e8bb (diff)
tabSRMM: fix for saving private container options
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 6d38ee53d1..1da0798432 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1366,10 +1366,8 @@ void CSrmmWindow::UpdateTitle()
}
else wcsncpy_s(newtitle, L"Forward", _TRUNCATE);
- if (mir_wstrcmp(newtitle, m_wszTitle)) {
+ if (mir_wstrcmp(newtitle, m_wszTitle))
bChanged = true;
- item.mask |= TCIF_TEXT;
- }
SendMessage(m_hwnd, DM_UPDATEWINICON, 0, 0);
@@ -1390,6 +1388,7 @@ void CSrmmWindow::UpdateTitle()
if (m_idle != dwOldIdle || bChanged) {
if (bChanged) {
+ item.mask |= TCIF_TEXT;
item.pszText = m_wszTitle;
wcsncpy_s(m_wszTitle, newtitle, _TRUNCATE);
if (m_pWnd)