diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-25 19:03:10 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-25 19:03:10 +0200 |
commit | 9e1808cd8b15596103cc6d4447740d0840d7d7f0 (patch) | |
tree | 719046afb540c6f572aeee77debd2e7344bb6361 /src/core | |
parent | 23f92accd24e2861806fcb3d1b47ae274a05b1ac (diff) |
the less flicker the better
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 |
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();
|