Francois Gouget : dplayx: Use a proper plural for the repliesExpected field name.

Alexandre Julliard julliard at winehq.org
Mon May 14 14:26:04 CDT 2012


Module: wine
Branch: master
Commit: 2539004fe11256cc4368d53439a79fc6a0c1f93b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2539004fe11256cc4368d53439a79fc6a0c1f93b

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon May 14 01:02:59 2012 +0200

dplayx: Use a proper plural for the repliesExpected field name.

---

 dlls/dplayx/dplay.c           |    2 +-
 dlls/dplayx/dplay_global.h    |    4 ++--
 dlls/dplayx/dplayx_messages.c |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index 87eb185..1bcb386 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -278,7 +278,7 @@ static BOOL DP_CreateDirectPlay2( LPVOID lpDP )
 
   DPQ_INIT(This->dp2->receiveMsgs);
   DPQ_INIT(This->dp2->sendMsgs);
-  DPQ_INIT(This->dp2->replysExpected);
+  DPQ_INIT(This->dp2->repliesExpected);
 
   if( !NS_InitializeSessionCache( &This->dp2->lpNameServerData ) )
   {
diff --git a/dlls/dplayx/dplay_global.h b/dlls/dplayx/dplay_global.h
index 2a12389..273f09e 100644
--- a/dlls/dplayx/dplay_global.h
+++ b/dlls/dplayx/dplay_global.h
@@ -67,7 +67,7 @@ typedef struct tagDP_MSG_REPLY_STRUCT
 
 typedef struct tagDP_MSG_REPLY_STRUCT_LIST
 {
-  DPQ_ENTRY(tagDP_MSG_REPLY_STRUCT_LIST) replysExpected;
+  DPQ_ENTRY(tagDP_MSG_REPLY_STRUCT_LIST) repliesExpected;
   DP_MSG_REPLY_STRUCT replyExpected;
 } DP_MSG_REPLY_STRUCT_LIST, *LPDP_MSG_REPLY_STRUCT_LIST;
 
@@ -193,7 +193,7 @@ typedef struct tagDirectPlay2Data
   enum SPSTATE connectionInitialized;
 
   /* Expected messages queue */
-  DPQ_HEAD( tagDP_MSG_REPLY_STRUCT_LIST ) replysExpected;
+  DPQ_HEAD( tagDP_MSG_REPLY_STRUCT_LIST ) repliesExpected;
 } DirectPlay2Data;
 
 typedef struct tagDirectPlay3Data
diff --git a/dlls/dplayx/dplayx_messages.c b/dlls/dplayx/dplayx_messages.c
index 8b9320d..bc888f6 100644
--- a/dlls/dplayx/dplayx_messages.c
+++ b/dlls/dplayx/dplayx_messages.c
@@ -172,7 +172,7 @@ HANDLE DP_MSG_BuildAndLinkReplyStruct( IDirectPlay2Impl* This,
 
   /* Insert into the message queue while locked */
   EnterCriticalSection( &This->unk->DP_lock );
-    DPQ_INSERT( This->dp2->replysExpected, lpReplyStructList, replysExpected );
+    DPQ_INSERT( This->dp2->repliesExpected, lpReplyStructList, repliesExpected );
   LeaveCriticalSection( &This->unk->DP_lock );
 
   return lpReplyStructList->replyExpected.hReceipt;
@@ -433,7 +433,7 @@ void DP_MSG_ReplyReceived( IDirectPlay2AImpl* This, WORD wCommandId,
    * avoid problems.
    */
   EnterCriticalSection( &This->unk->DP_lock );
-    DPQ_REMOVE_ENTRY( This->dp2->replysExpected, replysExpected, replyExpected.wExpectedReply,
+    DPQ_REMOVE_ENTRY( This->dp2->repliesExpected, repliesExpected, replyExpected.wExpectedReply,
                      ==, wCommandId, lpReplyList );
   LeaveCriticalSection( &This->unk->DP_lock );
 




More information about the wine-cvs mailing list