summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/container.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-02 17:04:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-02 17:04:47 +0000
commita61f28f670288dfae066c5220a98204e0692ead6 (patch)
treef1238e89440c460384d4f3291fb25d1199638bee /plugins/TabSRMM/src/container.cpp
parent2cf59d57b780d3fa8a0d4dd261ac73eb2a4e4060 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10026 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r--plugins/TabSRMM/src/container.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp
index efe384d9fb..6eb56bf111 100644
--- a/plugins/TabSRMM/src/container.cpp
+++ b/plugins/TabSRMM/src/container.cpp
@@ -1131,7 +1131,6 @@ panel_found:
case DM_UPDATETITLE:
{
MCONTACT hContact = 0;
- const TCHAR *szNewTitle = NULL;
TWindowData *dat = NULL;
if (lParam) { // lParam != 0 means sent by a chat window
@@ -1166,7 +1165,7 @@ panel_found:
}
if (dat) {
SendMessage(hwndDlg, DM_SETICON, (WPARAM)dat, (LPARAM)(dat->hXStatusIcon ? dat->hXStatusIcon : dat->hTabStatusIcon));
- szNewTitle = Utils::FormatTitleBar(dat, pContainer->settings->szTitleFormat);
+ const TCHAR *szNewTitle = Utils::FormatTitleBar(dat, pContainer->settings->szTitleFormat);
if (szNewTitle) {
SetWindowText(hwndDlg, szNewTitle);
mir_free((void*)szNewTitle);