summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-14 00:04:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-14 00:04:13 +0300
commit2723a75e981a2998c2243586c0214dd73d7e3874 (patch)
tree029a4ec55bc479ba3d96704499d7889294e9606f /plugins/Scriver
parent563d608f6b6dcac85646f00eac35d1d8e361f9b0 (diff)
fix for a typo
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 4fe31d082e..cda1cc92e1 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -1423,7 +1423,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
SendMessage(m_hwnd, DM_REMAKELOG, 0, 0);
if (!(dbei.flags & DBEF_SENT) && !DbEventIsCustomForMsgWindow(&dbei)) {
- if (bIsActive) {
+ if (!bIsActive) {
m_iShowUnread = 1;
SendMessage(m_hwnd, DM_UPDATEICON, 0, 0);
SetTimer(m_hwnd, TIMERID_UNREAD, TIMEOUT_UNREAD, nullptr);