mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
dinput: Assign to struct instead of using CopyMemory.
This commit is contained in:
parent
05935eb6b8
commit
05ea03c00b
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ static HRESULT alloc_device(REFGUID rguid, const void *jvt, IDirectInputImpl *di
|
|||
newDevice->base.lpVtbl = jvt;
|
||||
newDevice->base.ref = 1;
|
||||
newDevice->base.dinput = dinput;
|
||||
CopyMemory(&newDevice->base.guid, rguid, sizeof(*rguid));
|
||||
newDevice->base.guid = *rguid;
|
||||
InitializeCriticalSection(&newDevice->base.crit);
|
||||
newDevice->base.crit.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": JoystickImpl*->base.crit");
|
||||
|
||||
|
|
Loading…
Reference in a new issue