diff pidgin/win32/winpidgin.c @ 27782:9cd7892b2c8b

propagate from branch 'im.pidgin.pidgin' (head dfdceb0b08475c3e5750b3e6430d154e9a747d67) to branch 'im.pidgin.pidgin.yaz' (head 7982395e45644f3f5d8b4a39018946e19ea9572f)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 04 Mar 2008 18:12:32 +0000
parents 3370f295a1e0
children 6bd3a83e9d8c
line wrap: on
line diff
--- a/pidgin/win32/winpidgin.c	Tue Mar 04 18:10:40 2008 +0000
+++ b/pidgin/win32/winpidgin.c	Tue Mar 04 18:12:32 2008 +0000
@@ -456,7 +456,7 @@
 
 				printf("An instance of Pidgin is already running.\n");
 
-				if((msg_win = FindWindowEx(HWND_MESSAGE, NULL, TEXT("WinpidginMsgWinCls"), NULL)))
+				if((msg_win = FindWindowEx(NULL, NULL, TEXT("WinpidginMsgWinCls"), NULL)))
 					if(SendMessage(msg_win, PIDGIN_WM_FOCUS_REQUEST, (WPARAM) NULL, (LPARAM) NULL))
 						return FALSE;