Fixed logic bug.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 12 Jan 2013 14:06:58 -0500
changeset 6810b5609445aa4c
parent 6809 54cca01b6006
child 6811 60d95fcfaf3c
Fixed logic bug.
src/events/SDL_touch.c
     1.1 --- a/src/events/SDL_touch.c	Sat Jan 12 14:04:51 2013 -0500
     1.2 +++ b/src/events/SDL_touch.c	Sat Jan 12 14:06:58 2013 -0500
     1.3 @@ -268,7 +268,6 @@
     1.4                  //printf("Making room for it!\n");
     1.5                  fingers = (SDL_Finger **) SDL_realloc(touch->fingers,
     1.6                                                       (touch->num_fingers + 1) * sizeof(SDL_Finger *));
     1.7 -                touch->max_fingers = touch->num_fingers+1;
     1.8                  if (!fingers) {
     1.9                          SDL_OutOfMemory();
    1.10                          return -1;