summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/statusicon.cpp
diff options
context:
space:
mode:
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 f59c9f8ede..b11d49cd1a 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 == 0)
WindowList_Broadcast(g_dat.hParentWindowList, DM_STATUSICONCHANGE, 0, 0);
else {
- HWND hwnd = WindowList_Find(pci->hWindowList, hContact);
+ HWND hwnd = Srmm_FindWindow(hContact);
if (hwnd != nullptr)
PostMessage(GetParent(hwnd), DM_STATUSICONCHANGE, 0, 0);
}