Skip to content
Permalink
Browse files

Removed redundant variable check when processing gestures.

  • Loading branch information
philippwiesemann committed Jul 1, 2015
1 parent e8954d5 commit 26ecab90105c59c089b80a388d5b7eb468b186af
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/events/SDL_gesture.c
@@ -649,8 +649,7 @@ void SDL_GestureProcessEvent(SDL_Event* event)
break;
pressure? */
}

if (event->type == SDL_FINGERDOWN) {
else if (event->type == SDL_FINGERDOWN) {

inTouch->numDownFingers++;
inTouch->centroid.x = (inTouch->centroid.x*(inTouch->numDownFingers - 1)+

0 comments on commit 26ecab9

Please sign in to comment.