summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-06 22:22:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-06 22:22:13 +0300
commit862592785fd1242260e9476207a6004edcceff1f (patch)
tree98639c844db4362791c2c6f3fe9c718584c07067 /src/core
parent32b5ae141b4b63d2a1441cb8cad1b15b7b78f5b7 (diff)
fixes #1408 (StdMsg: window caption bug)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/chat_window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp
index a7da3d841a..abb4ba1244 100644
--- a/src/core/stdmsg/src/chat_window.cpp
+++ b/src/core/stdmsg/src/chat_window.cpp
@@ -1152,7 +1152,8 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
break;
case DM_UPDATETITLE:
- UpdateTitle();
+ if (lParam == 0 || lParam == m_hContact)
+ UpdateTitle();
break;
case DM_CLOSETAB: