From 0ea7dc15f8f3153516a5bf9fa9ad60cd4f1b4df8 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier Date: Sat, 17 Jan 2009 22:14:10 +0100 Subject: [PATCH] dinput: Move WARN where it belongs. --- dlls/dinput/joystick_linuxinput.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index 6f5b362b701..be5dccf12f9 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;