summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-06 21:29:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-06 21:29:36 +0300
commit32b5ae141b4b63d2a1441cb8cad1b15b7b78f5b7 (patch)
tree619f819e7932461f29b927157ae9cb6fcab9f788 /src/core/stdmsg
parentf7d7c40c372287642424883fc64b95edeb4461c9 (diff)
fixes #1409 (tab icon disappears after blinking)
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 356e4e2d57..5ad478afe8 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -1193,8 +1193,10 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_TIMER:
if (wParam == TIMERID_FLASHWND) {
- if (m_nFlash > 2 * g_dat.nFlashMax)
+ if (m_nFlash > 2 * g_dat.nFlashMax) {
StopFlash();
+ return 0;
+ }
}
else if (wParam == TIMERID_TYPE) {
ShowTime(false);