user32: DdeConnect causes 2 XTYP_CONNECT_CONFIRM messages to flow. Delete one.

This commit is contained in:
Jeff Latimer 2008-09-04 21:08:30 +10:00 committed by Alexandre Julliard
parent 4c3e55dd88
commit 5ad6ef53a2
2 changed files with 1 additions and 4 deletions

View File

@ -1331,8 +1331,6 @@ static LRESULT CALLBACK WDML_ClientProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPA
pConv->wStatus |= ST_ISLOCAL;
}
WDML_BroadcastDDEWindows(WDML_szEventClass, WM_WDML_CONNECT_CONFIRM, (WPARAM)hwnd, wParam);
GlobalDeleteAtom(uiLo);
GlobalDeleteAtom(uiHi);

View File

@ -2170,7 +2170,7 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
}
case XTYP_CONNECT_CONFIRM:
{
ok(msg_index == 3 || msg_index == 4 || msg_index == 8, "Expected 3 or 8, got %d\n", msg_index);
ok(msg_index == 3 || msg_index == 8, "Expected 3 or 8, got %d\n", msg_index);
conversation = hconv;
return (HDDEDATA) TRUE;
}
@ -2178,7 +2178,6 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
{
BYTE *buffer = NULL;
todo_wine
ok(msg_index == 4 || msg_index == 9, "Expected 4 or 9, got %d\n", msg_index);
ok(uFmt == 0, "Expected 0, got %d\n", uFmt);
ok(hconv == conversation, "Expected conversation handle, got %p, msg_index=%d\n",