summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-25 19:03:10 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-25 19:03:10 +0200
commit9e1808cd8b15596103cc6d4447740d0840d7d7f0 (patch)
tree719046afb540c6f572aeee77debd2e7344bb6361 /src/core
parent23f92accd24e2861806fcb3d1b47ae274a05b1ac (diff)
the less flicker the better
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 681f7f5d7b..391788b319 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -630,7 +630,7 @@ void CSrmmWindow::UpdateTitle()
else mir_wstrncpy(newtitle, TranslateT("Message session"), _countof(newtitle));
wchar_t oldtitle[256];
- GetWindowText(m_hwnd, oldtitle, _countof(oldtitle));
+ GetWindowText(m_pOwner->GetHwnd(), oldtitle, _countof(oldtitle));
if (mir_wstrcmp(newtitle, oldtitle)) { //swt() flickers even if the title hasn't actually changed
SetWindowText(m_pOwner->GetHwnd(), newtitle);
Resize();