Skip to content

Commit

Permalink
Use variables for what they were created for
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Oct 11, 2012
1 parent 7e1c4e6 commit b9065e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/gem/SDL_gemevents.c
Expand Up @@ -114,6 +114,8 @@ void GEM_PumpEvents(_THIS)
if (resultat & MU_KEYBD) {
if ((prevkc != kc) || (prevks != kstate)) {
do_keyboard(kc,kstate);
prevkc = kc;
prevks = ks;
} else {
/* Avoid looping, if repeating same key */
break;
Expand Down

0 comments on commit b9065e0

Please sign in to comment.