src/events/SDL_gesture.c
changeset 8910 c23ffe72934c
parent 8775 047537a5a114
child 9456 2d6ec08030a0
     1.1 --- a/src/events/SDL_gesture.c	Sun Jun 22 10:05:59 2014 -0700
     1.2 +++ b/src/events/SDL_gesture.c	Sun Jun 22 11:02:56 2014 -0700
     1.3 @@ -473,7 +473,6 @@
     1.4  void SDL_GestureProcessEvent(SDL_Event* event)
     1.5  {
     1.6      float x,y;
     1.7 -    SDL_FloatPoint path[DOLLARNPOINTS];
     1.8      int index;
     1.9      int i;
    1.10      float pathDx, pathDy;
    1.11 @@ -497,6 +496,8 @@
    1.12  
    1.13          /* Finger Up */
    1.14          if (event->type == SDL_FINGERUP) {
    1.15 +            SDL_FloatPoint path[DOLLARNPOINTS];
    1.16 +
    1.17              inTouch->numDownFingers--;
    1.18  
    1.19  #ifdef ENABLE_DOLLAR