dplayx: Copy the correct Short name variable.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-10-20 10:26:56 +00:00 committed by Alexandre Julliard
parent 7d35a261ba
commit 982137f73f
1 changed files with 1 additions and 1 deletions

View File

@ -2709,7 +2709,7 @@ static HRESULT DP_IF_GetGroupName( IDirectPlayImpl *This, DPID idGroup, void *lp
if( lpGData->name.u1.lpszShortNameA ) if( lpGData->name.u1.lpszShortNameA )
{ {
strcpy( ((char*)lpName)+lpGData->name.dwSize, strcpy( ((char*)lpName)+lpGData->name.dwSize,
lpGData->name.u2.lpszLongNameA ); lpGData->name.u1.lpszShortNameA );
} }
else else
{ {