Module: wine Branch: refs/heads/master Commit: 71924d7da67b094af9c9333c13db8fd7f87629a7 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=71924d7da67b094af9c9333c... Author: Kovács András <andras(a)csevego.net> Date: Thu Jul 20 07:21:35 2006 +0200 dinput: joydev_enum_deviceA now returns the correct value. --- dlls/dinput/joystick_linuxinput.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index c88ac78..0956e7c 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -333,7 +333,7 @@ static BOOL joydev_enum_deviceW(DWORD dw find_joydevs(); if (id >= have_joydevs) { - return -1; + return FALSE; } if (!((dwDevType == 0) ||