src/video/wayland/SDL_waylandmouse.c
changeset 9136 64fcdfcd5bca
parent 8815 c6d0a457f3b2
child 9469 3f8d36ffd19d
     1.1 --- a/src/video/wayland/SDL_waylandmouse.c	Sat Sep 13 02:15:18 2014 -0700
     1.2 +++ b/src/video/wayland/SDL_waylandmouse.c	Tue Sep 09 17:26:16 2014 +0900
     1.3 @@ -126,7 +126,7 @@
     1.4                         MAP_SHARED,
     1.5                         shm_fd,
     1.6                         0);
     1.7 -    if (data == MAP_FAILED) {
     1.8 +    if (d->shm_data == MAP_FAILED) {
     1.9          d->shm_data = NULL;
    1.10          fprintf (stderr, "mmap () failed\n");
    1.11          close (shm_fd);