Module: wine
Branch: master
Commit: 0ea7dc15f8f3153516a5bf9fa9ad60cd4f1b4df8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ea7dc15f8f3153516a5bf9fa…
Author: Vincent Pelletier <plr.vincent(a)gmail.com>
Date: Sat Jan 17 22:14:10 2009 +0100
dinput: Move WARN where it belongs.
---
dlls/dinput/joystick_linuxinput.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 6f5b362..be5dccf 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -657,11 +657,11 @@ static HRESULT WINAPI JoystickAImpl_Acquire(LPDIRECTINPUTDEVICE8A iface)
IDirectInputDevice2AImpl_Unacquire(iface);
return DIERR_NOTFOUND;
}
- }
- else
- {
- /* Couldn't open in r/w but opened in read-only. */
- WARN("Could not open %s in read-write mode. Force feedback will be disabled.\n", This->joydev->device);
+ else
+ {
+ /* Couldn't open in r/w but opened in read-only. */
+ WARN("Could not open %s in read-write mode. Force feedback will be disabled.\n", This->joydev->device);
+ }
}
return DI_OK;