src/events/SDL_gesture.c
changeset 5981 75caa8a7d559
parent 5535 96594ac5fd1a
child 6044 35448a5ea044
child 6065 fcd144b830ce
     1.1 --- a/src/events/SDL_gesture.c	Wed Oct 12 20:01:09 2011 -0400
     1.2 +++ b/src/events/SDL_gesture.c	Thu Oct 13 01:08:30 2011 -0400
     1.3 @@ -390,10 +390,11 @@
     1.4  float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch) {
     1.5          
     1.6          SDL_FloatPoint points[DOLLARNPOINTS];
     1.7 -        int numPoints = dollarNormalize(path,points);
     1.8          int i;
     1.9          float bestDiff = 10000;
    1.10  
    1.11 +        dollarNormalize(path,points);
    1.12 +
    1.13          //PrintPath(points);
    1.14          *bestTempl = -1;
    1.15          for(i = 0;i < touch->numDollarTemplates;i++) {