mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 04:38:30 +00:00
fixed linux build.
This commit is contained in:
parent
95d17f9d2c
commit
1e50823a14
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue