summaryrefslogtreecommitdiff
path: root/plugins/ZeroSwitch/src/ZeroSwitch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZeroSwitch/src/ZeroSwitch.cpp')
-rw-r--r--plugins/ZeroSwitch/src/ZeroSwitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ZeroSwitch/src/ZeroSwitch.cpp b/plugins/ZeroSwitch/src/ZeroSwitch.cpp
index 30261ee18a..37a2b7daa5 100644
--- a/plugins/ZeroSwitch/src/ZeroSwitch.cpp
+++ b/plugins/ZeroSwitch/src/ZeroSwitch.cpp
@@ -113,7 +113,7 @@ LRESULT CALLBACK CallWndRetProc(int nCode, WPARAM wParam, LPARAM lParam)
{
pMes = (PCWPRETSTRUCT)lParam; // Get message details
if (!hMirandaWnd)
- hMirandaWnd = FindWindow(_T("Miranda"), NULL);
+ hMirandaWnd = (HWND) CallService(MS_CLUI_GETHWND,0,0);//FindWindow(_T("Miranda"), NULL);
if (pMes->hwnd == hMirandaWnd)
{