src/video/x11/SDL_x11mouse.c
changeset 2765 f55c87ae336b
parent 2763 6fc50bdd88c0
child 2859 99210400e8b9
     1.1 --- a/src/video/x11/SDL_x11mouse.c	Wed Sep 17 08:24:51 2008 +0000
     1.2 +++ b/src/video/x11/SDL_x11mouse.c	Sat Oct 04 06:46:59 2008 +0000
     1.3 @@ -36,8 +36,10 @@
     1.4      SDL_XDevices = NULL;
     1.5      SDL_NumOfXDevices = 0;
     1.6  
     1.7 -    if (!SDL_X11_HAVE_XINPUT)
     1.8 -        return;  /* should have dynamically loaded, but wasn't available. */
     1.9 +    if (!SDL_X11_HAVE_XINPUT) {
    1.10 +        /* should have dynamically loaded, but wasn't available. */
    1.11 +        return;
    1.12 +    }
    1.13  
    1.14      /* we're getting the list of input devices */
    1.15      DevList = XListInputDevices(data->display, &numOfDevices);