Commit 0ea7dc15 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Alexandre Julliard

dinput: Move WARN where it belongs.

parent d0a345f9
...@@ -657,11 +657,11 @@ static HRESULT WINAPI JoystickAImpl_Acquire(LPDIRECTINPUTDEVICE8A iface) ...@@ -657,11 +657,11 @@ static HRESULT WINAPI JoystickAImpl_Acquire(LPDIRECTINPUTDEVICE8A iface)
IDirectInputDevice2AImpl_Unacquire(iface); IDirectInputDevice2AImpl_Unacquire(iface);
return DIERR_NOTFOUND; return DIERR_NOTFOUND;
} }
} else
else {
{ /* Couldn't open in r/w but opened in read-only. */
/* 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);
WARN("Could not open %s in read-write mode. Force feedback will be disabled.\n", This->joydev->device); }
} }
return DI_OK; return DI_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment