diff options
-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();
|