# HG changeset patch # User Daniel Atallah # Date 1204562115 0 # Node ID 3370f295a1e06a205987469df8ff5218a3079959 # Parent 791c9545846b64a14a1638bad5f134ee7961cd42 Fix a regression in presenting the existing instance of Pidgin on Windows when the executable is launched a subsequent time. Fixes #5041. diff -r 791c9545846b -r 3370f295a1e0 pidgin/win32/winpidgin.c --- a/pidgin/win32/winpidgin.c Mon Mar 03 09:03:47 2008 +0000 +++ b/pidgin/win32/winpidgin.c Mon Mar 03 16:35:15 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;