Spelling, trace fixes.
This commit is contained in:
parent
0af222ceb4
commit
260f1a1def
|
@ -887,7 +887,7 @@ got:
|
|||
}
|
||||
WIN_RestoreWndsLock(iWndsLocks);
|
||||
|
||||
/* remove the smsg from the processingg list of the source queue */
|
||||
/* remove the smsg from the processing list of the source queue */
|
||||
QUEUE_RemoveSMSG( queue, SM_PROCESSING_LIST, smsg );
|
||||
|
||||
/* Note: the destination thread is in charge of removing the smsg from
|
||||
|
@ -897,7 +897,7 @@ got:
|
|||
released the smsg structure if the receiver thread is done
|
||||
(SMSG_RECEIVED set). If the receiver thread isn't done,
|
||||
SMSG_RECEIVER_CLEANS_UP flag is set, and it will be the receiver
|
||||
responsability to released smsg */
|
||||
responsibility to release smsg */
|
||||
EnterCriticalSection( &queue->cSection );
|
||||
|
||||
if (smsg->flags & SMSG_RECEIVED)
|
||||
|
@ -977,7 +977,7 @@ BOOL WINAPI ReplyMessage( LRESULT result )
|
|||
|
||||
if (smsg->flags & SMSG_SENDING_REPLY)
|
||||
{
|
||||
/* remove msg from the waiting list, since this is the last
|
||||
/* remove msg from the waiting list, since this is the last
|
||||
ReplyMessage */
|
||||
QUEUE_RemoveSMSG( queue, SM_WAITING_LIST, smsg );
|
||||
|
||||
|
@ -987,7 +987,7 @@ BOOL WINAPI ReplyMessage( LRESULT result )
|
|||
smsg->flags |= SMSG_RECEIVED;
|
||||
|
||||
/* sender will set SMSG_RECEIVER_CLEANS_UP if it wants the
|
||||
receiver to clean up smsg, it could only happens when there is
|
||||
receiver to clean up smsg, it could only happen when there is
|
||||
an early reply or a timeout */
|
||||
if ( smsg->flags & SMSG_RECEIVER_CLEANS )
|
||||
{
|
||||
|
|
|
@ -667,7 +667,7 @@ END:
|
|||
/***********************************************************************
|
||||
* NC_DoNCHitTest
|
||||
*
|
||||
* Handle a WM_NCHITTEST message. Called from NC_HandleNcHitTest().
|
||||
* Handle a WM_NCHITTEST message. Called from NC_HandleNCHitTest().
|
||||
*/
|
||||
|
||||
static LONG NC_DoNCHitTest (WND *wndPtr, POINT16 pt )
|
||||
|
|
|
@ -835,7 +835,7 @@ SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg )
|
|||
should be always at the top of the list */
|
||||
if ( (smsg != queue->smProcessing) || !queue->smProcessing )
|
||||
{
|
||||
ERR_(sendmsg)("smsg not at the top of Processing list, smsg=0x%p queue=0x%p", smsg, queue);
|
||||
ERR_(sendmsg)("smsg not at the top of Processing list, smsg=0x%p queue=0x%p\n", smsg, queue);
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
@ -859,7 +859,7 @@ SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg )
|
|||
should be always at the top of the list */
|
||||
if ( (smsg != queue->smWaiting) || !queue->smWaiting )
|
||||
{
|
||||
ERR_(sendmsg)("smsg not at the top of Waiting list, smsg=0x%p queue=0x%p", smsg, queue);
|
||||
ERR_(sendmsg)("smsg not at the top of Waiting list, smsg=0x%p queue=0x%p\n", smsg, queue);
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
@ -878,7 +878,7 @@ SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg )
|
|||
smsg = queue->smPending;
|
||||
if ( (smsg != queue->smPending) || !queue->smPending )
|
||||
{
|
||||
ERR_(sendmsg)("should always remove the top one in Pending list, smsg=0x%p queue=0x%p", smsg, queue);
|
||||
ERR_(sendmsg)("should always remove the top one in Pending list, smsg=0x%p queue=0x%p\n", smsg, queue);
|
||||
LeaveCriticalSection( &queue->cSection );
|
||||
return 0;
|
||||
}
|
||||
|
@ -897,7 +897,7 @@ SMSG *QUEUE_RemoveSMSG( MESSAGEQUEUE *queue, int list, SMSG *smsg )
|
|||
return smsg;
|
||||
|
||||
default:
|
||||
ERR_(sendmsg)("Invalid list: %d", list);
|
||||
ERR_(sendmsg)("Invalid list: %d\n", list);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue