dinput: Move WARN where it belongs.

This commit is contained in:
Vincent Pelletier 2009-01-17 22:14:10 +01:00 committed by Alexandre Julliard
parent d0a345f914
commit 0ea7dc15f8
1 changed files with 5 additions and 5 deletions

View File

@ -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;