src/events/SDL_gesture.c
changeset 7899 e94abe9c40ca
parent 7678 286c42d7c5ed
child 7900 cc2289c332eb
     1.1 --- a/src/events/SDL_gesture.c	Sat Nov 02 11:46:43 2013 +0100
     1.2 +++ b/src/events/SDL_gesture.c	Sat Nov 02 11:51:23 2013 +0100
     1.3 @@ -198,10 +198,8 @@
     1.4          }
     1.5          /* Use the index of the last one added. */
     1.6          return index;
     1.7 -    } else {
     1.8 -        return SDL_AddDollarGesture_one(inTouch, path);
     1.9      }
    1.10 -    return -1;
    1.11 +    return SDL_AddDollarGesture_one(inTouch, path);
    1.12  }
    1.13  
    1.14  int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src)