Explorar o código

Convert last SDL_IOReady()'s 2nd parameter to flags

Conversion missed in https://github.com/libsdl-org/SDL/pull/4897
Mathieu Eyraud %!s(int64=4) %!d(string=hai) anos
pai
achega
3090812e1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/linux/SDL_udev.c

+ 1 - 1
src/core/linux/SDL_udev.c

@@ -103,7 +103,7 @@ SDL_UDEV_hotplug_update_available(void)
 {
 {
     if (_this->udev_mon != NULL) {
     if (_this->udev_mon != NULL) {
         const int fd = _this->syms.udev_monitor_get_fd(_this->udev_mon);
         const int fd = _this->syms.udev_monitor_get_fd(_this->udev_mon);
-        if (SDL_IOReady(fd, SDL_FALSE, 0)) {
+        if (SDL_IOReady(fd, SDL_IOR_READ, 0)) {
             return SDL_TRUE;
             return SDL_TRUE;
         }
         }
     }
     }