dinput: Conform critical section DebugInfo names.
Jan Zerebecki
jan.wine at zerebecki.de
Thu Mar 8 09:35:52 CST 2007
---
If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.
dlls/dinput/joystick_linux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
index 822cb94..2ed761c 100644
--- a/dlls/dinput/joystick_linux.c
+++ b/dlls/dinput/joystick_linux.c
@@ -471,7 +471,7 @@ static HRESULT alloc_device(REFGUID rguid, const void *jvt, IDirectInputImpl *di
newDevice->dinput = dinput;
CopyMemory(&newDevice->base.guid, rguid, sizeof(*rguid));
InitializeCriticalSection(&newDevice->base.crit);
- newDevice->base.crit.DebugInfo->Spare[0] = (DWORD_PTR)"DINPUT_joystick";
+ newDevice->base.crit.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": JoystickImpl*->base.crit");
/* setup_dinput_options may change these */
newDevice->deadzone = 0;
More information about the wine-patches
mailing list