diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-09 12:40:41 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-09 12:40:59 +0200 |
commit | 084482bf3a03478fc1678e72f01553fad22662f9 (patch) | |
tree | 93e94c4d3cf08565c6bdb47f1b657ef89bc16b53 /src/core | |
parent | ed30a9093702a8ed0cfb8f922cb767eee4960212 (diff) |
no need to resize a window when its title changes
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 0a5ef46008..02278c8e9f 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -647,10 +647,8 @@ void CSrmmWindow::UpdateTitle() wchar_t oldtitle[256];
GetWindowText(m_pOwner->GetHwnd(), oldtitle, _countof(oldtitle));
- if (mir_wstrcmp(newtitle, oldtitle)) { //swt() flickers even if the title hasn't actually changed
+ if (mir_wstrcmp(newtitle, oldtitle)) //swt() flickers even if the title hasn't actually changed
SetWindowText(m_pOwner->GetHwnd(), newtitle);
- Resize();
- }
}
/////////////////////////////////////////////////////////////////////////////////////////
|