summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src')
-rw-r--r--plugins/FloatingContacts/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp
index 38aeeeee45..36047e19f3 100644
--- a/plugins/FloatingContacts/src/main.cpp
+++ b/plugins/FloatingContacts/src/main.cpp
@@ -871,7 +871,7 @@ static int OnModulesLoded(WPARAM, LPARAM)
HookEvent(ME_CLIST_STATUSMODECHANGE, OnStatusModeChange);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPrebuildContactMenu);
- hwndMiranda = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
+ hwndMiranda = pcli->hwndContactList;
mir_subclassWindow(hwndMiranda, newMirandaWndProc);
// No thumbs yet