fixed linux build.
This commit is contained in:
parent
95d17f9d2c
commit
1e50823a14
@ -882,7 +882,7 @@ static int SDL_EVDEV_device_added(const char *dev_path, int udev_class)
|
||||
return ret;
|
||||
}
|
||||
} else if (udev_class & SDL_UDEV_DEVICE_MOUSE) {
|
||||
ret = SDL_EVDEV_init_mouse(item, udev_class);
|
||||
int ret = SDL_EVDEV_init_mouse(item, udev_class);
|
||||
if (ret < 0) {
|
||||
close(item->fd);
|
||||
SDL_free(item->path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user