src/events/SDL_gesture.c
changeset 11293 2759ce803a47
parent 11290 ef96b05151c5
child 11811 5d94cb6b24d3
     1.1 --- a/src/events/SDL_gesture.c	Mon Aug 14 14:14:45 2017 -0700
     1.2 +++ b/src/events/SDL_gesture.c	Mon Aug 14 16:09:44 2017 -0700
     1.3 @@ -481,7 +481,7 @@
     1.4      SDL_zero(SDL_gestureTouch[i]);
     1.5  
     1.6      SDL_numGestureTouches--;
     1.7 -    SDL_gestureTouch[i] = SDL_gestureTouch[SDL_numGestureTouches];
     1.8 +    SDL_memcpy(&SDL_gestureTouch[i], &SDL_gestureTouch[SDL_numGestureTouches], sizeof(SDL_gestureTouch[i]));
     1.9      return 0;
    1.10  }
    1.11