Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed missing j
  • Loading branch information
slouken committed Apr 19, 2014
1 parent 0ba3a54 commit 36e11d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_gesture.c
Expand Up @@ -149,7 +149,7 @@ int SDL_SaveDollarTemplate(SDL_GestureID gestureId, SDL_RWops *dst)
for (i = 0; i < SDL_numGestureTouches; i++) {
SDL_GestureTouch* touch = &SDL_gestureTouch[i];
for (j = 0; j < touch->numDollarTemplates; j++) {
if (touch->dollarTemplate[i].hash == gestureId) {
if (touch->dollarTemplate[j].hash == gestureId) {
return SaveTemplate(&touch->dollarTemplate[j], dst);
}
}
Expand Down

0 comments on commit 36e11d8

Please sign in to comment.