[PATCH] dplayx: Copy the correct Short name variable.
This appears to be a copy/paste bug. Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- 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..089d034dfd 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.u2.lpszShortNameA ); } else { -- 2.23.0
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=58070 Your paranoid android. === debian10 (build log) === ../../../wine/dlls/dplayx/dplay.c:2712:30: error: ‘union <anonymous>’ has no member named ‘lpszShortNameA’; did you mean ‘lpszLongNameA’? Task: The win32 build failed === debian10 (build log) === ../../../wine/dlls/dplayx/dplay.c:2712:30: error: ‘union <anonymous>’ has no member named ‘lpszShortNameA’; did you mean ‘lpszLongNameA’? Task: The wow64 build failed
participants (2)
-
Alistair Leslie-Hughes -
Marvin