summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/statusicon.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-06 14:27:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-06 14:27:45 +0300
commit6dc8111b7f9534aaf7aa22f979857ee0593cae90 (patch)
tree27155066903cf80b676a4edab8485e67ad3c754a /plugins/Scriver/src/statusicon.cpp
parentc8e8e884a6a632c5766eddab2d84c6a6b2216d6c (diff)
minus Scriver's own window list
Diffstat (limited to 'plugins/Scriver/src/statusicon.cpp')
-rw-r--r--plugins/Scriver/src/statusicon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/statusicon.cpp b/plugins/Scriver/src/statusicon.cpp
index e280fc7165..73b17b6c52 100644
--- a/plugins/Scriver/src/statusicon.cpp
+++ b/plugins/Scriver/src/statusicon.cpp
@@ -64,7 +64,7 @@ static int OnSrmmIconChanged(WPARAM hContact, LPARAM)
if (hContact == NULL)
WindowList_Broadcast(g_dat.hParentWindowList, DM_STATUSICONCHANGE, 0, 0);
else {
- HWND hwnd = WindowList_Find(g_dat.hMessageWindowList, hContact);
+ HWND hwnd = WindowList_Find(pci->hWindowList, hContact);
if (hwnd == NULL)
hwnd = SM_FindWindowByContact(hContact);
if (hwnd != NULL)