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

View file

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