Andrew Talbot : dplayx: Fix a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 26 10:23:54 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Apr 25 21:41:14 2007 +0100

dplayx: Fix a typo.

---

 dlls/dplayx/dplayx_global.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c
index 28b462b..13bf1e2 100644
--- a/dlls/dplayx/dplayx_global.c
+++ b/dlls/dplayx/dplayx_global.c
@@ -798,8 +798,8 @@ void DPLAYX_CopyConnStructW( LPDPLCONNECTION dest, LPDPLCONNECTION src )
     /* Session names may or may not exist */
     if( src->lpSessionDesc->u1.lpszSessionName )
     {
-      strcpyW( (LPWSTR)lpStartOfFreeSpace, dest->lpSessionDesc->u1.lpszSessionName );
-      src->lpSessionDesc->u1.lpszSessionName = (LPWSTR)lpStartOfFreeSpace;
+      strcpyW( (LPWSTR)lpStartOfFreeSpace, src->lpSessionDesc->u1.lpszSessionName );
+      dest->lpSessionDesc->u1.lpszSessionName = (LPWSTR)lpStartOfFreeSpace;
       lpStartOfFreeSpace +=  sizeof(WCHAR) *
         ( strlenW( (LPWSTR)dest->lpSessionDesc->u1.lpszSessionName ) + 1 );
     }




More information about the wine-cvs mailing list