src/events/SDL_gesture.c
changeset 8296 cb13016bf07b
parent 8149 681eb46b8ac4
child 8705 fee2f7e242a1
     1.1 --- a/src/events/SDL_gesture.c	Mon Mar 03 21:25:16 2014 -0500
     1.2 +++ b/src/events/SDL_gesture.c	Thu Mar 06 20:02:17 2014 -0800
     1.3 @@ -418,13 +418,8 @@
     1.4  
     1.5      SDL_gestureTouch = gestureTouch;
     1.6  
     1.7 -    SDL_gestureTouch[SDL_numGestureTouches].numDownFingers = 0;
     1.8 +    SDL_zero(SDL_gestureTouch[SDL_numGestureTouches]);
     1.9      SDL_gestureTouch[SDL_numGestureTouches].id = touchId;
    1.10 -
    1.11 -    SDL_gestureTouch[SDL_numGestureTouches].numDollarTemplates = 0;
    1.12 -
    1.13 -    SDL_gestureTouch[SDL_numGestureTouches].recording = SDL_FALSE;
    1.14 -
    1.15      SDL_numGestureTouches++;
    1.16      return 0;
    1.17  }