Author: dgorbachev
Date: Fri Mar 16 19:52:36 2007
New Revision: 26115
URL:
http://svn.reactos.org/svn/reactos?rev=26115&view=rev
Log:
Commit a patch (attachment #1135)
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c Fri Mar 16 19:52:36 2007
@@ -965,12 +965,13 @@
ListHead = &MessageQueue->SentMessagesListHead;
while (CurrentEntry != ListHead)
{
- CurrentEntry = RemoveHeadList(&MessageQueue->SentMessagesListHead);
SentMessage = CONTAINING_RECORD(CurrentEntry, USER_SENT_MESSAGE,
ListEntry);
if(SentMessage->Msg.hwnd == Window->hSelf)
{
DPRINT("Notify the sender and remove a message from the queue that had not
been dispatched\n");
+
+ RemoveEntryList(&SentMessage->ListEntry);
/* remove the message from the dispatching list */
if(SentMessage->DispatchingListEntry.Flink != NULL)