src/core/linux/SDL_evdev.c
changeset 9159 d743b9d03a52
parent 8149 681eb46b8ac4
child 9257 6f41196c2d6b
     1.1 --- a/src/core/linux/SDL_evdev.c	Tue Oct 14 09:53:46 2014 -0400
     1.2 +++ b/src/core/linux/SDL_evdev.c	Wed Oct 15 09:09:57 2014 -0700
     1.3 @@ -584,6 +584,10 @@
     1.4      Uint32 kval;
     1.5  #endif
     1.6  
     1.7 +    if (!_this) {
     1.8 +        return;
     1.9 +    }
    1.10 +
    1.11  #if SDL_USE_LIBUDEV
    1.12      SDL_UDEV_Poll();
    1.13  #endif