src/events/SDL_gesture.c
changeset 4681 5378f2d0754f
parent 4678 f8431f66613d
child 4682 4ba1048a324c
     1.1 --- a/src/events/SDL_gesture.c	Sat Jul 31 20:55:33 2010 -0700
     1.2 +++ b/src/events/SDL_gesture.c	Mon Aug 02 00:14:53 2010 -0400
     1.3 @@ -27,7 +27,7 @@
     1.4  #include "SDL_gesture_c.h"
     1.5  
     1.6  //TODO: Replace with malloc
     1.7 -#define MAXFINGERS 3
     1.8 +#define MAXFINGERS 5
     1.9  #define MAXTOUCHES 2
    1.10  #define MAXTEMPLATES 4
    1.11  #define MAXPATHSIZE 1024
    1.12 @@ -496,6 +496,7 @@
    1.13  	  }
    1.14  	} 
    1.15  	inTouch->gestureLast[j] = inTouch->gestureLast[inTouch->numDownFingers];
    1.16 +	j = -1;
    1.17  	break;
    1.18        }
    1.19        else {