summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-09 12:40:41 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-09 12:40:59 +0200
commit084482bf3a03478fc1678e72f01553fad22662f9 (patch)
tree93e94c4d3cf08565c6bdb47f1b657ef89bc16b53 /src
parented30a9093702a8ed0cfb8f922cb767eee4960212 (diff)
no need to resize a window when its title changes
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp4
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();
- }
}
/////////////////////////////////////////////////////////////////////////////////////////