Alistair Leslie-Hughes : dplayx: Copy the correct Short name variable.
Alexandre Julliard
julliard at winehq.org
Mon Oct 21 15:28:36 CDT 2019
Module: wine
Branch: master
Commit: 982137f73f7be7bde9e7de93be55ef03c54f5adf
URL: https://source.winehq.org/git/wine.git/?a=commit;h=982137f73f7be7bde9e7de93be55ef03c54f5adf
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun Oct 20 10:26:56 2019 +0000
dplayx: Copy the correct Short name variable.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dplayx/dplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index e7d6edc6a0..e2464f8013 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -2709,7 +2709,7 @@ static HRESULT DP_IF_GetGroupName( IDirectPlayImpl *This, DPID idGroup, void *lp
if( lpGData->name.u1.lpszShortNameA )
{
strcpy( ((char*)lpName)+lpGData->name.dwSize,
- lpGData->name.u2.lpszLongNameA );
+ lpGData->name.u1.lpszShortNameA );
}
else
{
More information about the wine-cvs
mailing list