comparison pidgin/win32/winpidgin.c @ 22497:6bd3a83e9d8c

Fix protocolhandler invocation. Fixes #5248
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 19 Mar 2008 03:13:19 +0000
parents 3370f295a1e0
children aaaff38e144f ab5b9acebde3
comparison
equal deleted inserted replaced
22496:7505f555ab3e 22497:6bd3a83e9d8c
496 if (len == 0) { 496 if (len == 0) {
497 printf("No protocol message specified.\n"); 497 printf("No protocol message specified.\n");
498 return; 498 return;
499 } 499 }
500 500
501 if (!(msg_win = FindWindowEx(HWND_MESSAGE, NULL, TEXT("WinpidginMsgWinCls"), NULL))) { 501 if (!(msg_win = FindWindowEx(NULL, NULL, TEXT("WinpidginMsgWinCls"), NULL))) {
502 printf("Unable to find an instance of Pidgin to handle protocol message.\n"); 502 printf("Unable to find an instance of Pidgin to handle protocol message.\n");
503 return; 503 return;
504 } 504 }
505 505
506 GetWindowThreadProcessId(msg_win, &pid); 506 GetWindowThreadProcessId(msg_win, &pid);