src/video/gem/SDL_gemevents.c
changeset 2043 adf732f1f016
parent 2030 d774e9d7c2a8
child 2186 6fe43f7efd94
     1.1 --- a/src/video/gem/SDL_gemevents.c	Sun Sep 24 15:56:36 2006 +0000
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Sun Sep 24 15:56:55 2006 +0000
     1.3 @@ -147,7 +147,8 @@
     1.4          /* Key unpressed ? */
     1.5          if (gem_previouskeyboard[i] && !gem_currentkeyboard[i])
     1.6              SDL_PrivateKeyboard(SDL_RELEASED,
     1.7 -                                SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
     1.8 +                                SDL_Atari_TranslateKey(i, &keysym,
     1.9 +                                                       SDL_FALSE));
    1.10      }
    1.11  
    1.12      SDL_memcpy(gem_previouskeyboard, gem_currentkeyboard,
    1.13 @@ -291,8 +292,8 @@
    1.14      int scancode, asciicode;
    1.15  
    1.16      if (kc) {
    1.17 -        scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1);
    1.18 -        gem_currentkeyboard[scancode]=0xFF;
    1.19 +        scancode = (kc >> 8) & (ATARIBIOS_MAXKEYS - 1);
    1.20 +        gem_currentkeyboard[scancode] = 0xFF;
    1.21      }
    1.22  
    1.23      /* Read special keys */