summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/statusicon.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 18:44:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 18:44:24 +0300
commit2cf63b38b3ddc616a18847a29ab36790138a168a (patch)
treecd108e21f71cb5f6626b1b788e70a419852a5d3d /plugins/Scriver/src/statusicon.cpp
parent1ab93d3afabe3a5872040b5acafc9f113c196a2b (diff)
more unneeded code removed
Diffstat (limited to 'plugins/Scriver/src/statusicon.cpp')
-rw-r--r--plugins/Scriver/src/statusicon.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Scriver/src/statusicon.cpp b/plugins/Scriver/src/statusicon.cpp
index 401ef8335f..f59c9f8ede 100644
--- a/plugins/Scriver/src/statusicon.cpp
+++ b/plugins/Scriver/src/statusicon.cpp
@@ -65,8 +65,6 @@ static int OnSrmmIconChanged(WPARAM hContact, LPARAM)
WindowList_Broadcast(g_dat.hParentWindowList, DM_STATUSICONCHANGE, 0, 0);
else {
HWND hwnd = WindowList_Find(pci->hWindowList, hContact);
- if (hwnd == nullptr)
- hwnd = SM_FindWindowByContact(hContact);
if (hwnd != nullptr)
PostMessage(GetParent(hwnd), DM_STATUSICONCHANGE, 0, 0);
}