diff src/video/gem/SDL_gemevents.c @ 2043:adf732f1f016

Formatting update
author Sam Lantinga <slouken@libsdl.org>
date Sun, 24 Sep 2006 15:56:55 +0000
parents d774e9d7c2a8
children 6fe43f7efd94
line wrap: on
line diff
--- a/src/video/gem/SDL_gemevents.c	Sun Sep 24 15:56:36 2006 +0000
+++ b/src/video/gem/SDL_gemevents.c	Sun Sep 24 15:56:55 2006 +0000
@@ -147,7 +147,8 @@
         /* Key unpressed ? */
         if (gem_previouskeyboard[i] && !gem_currentkeyboard[i])
             SDL_PrivateKeyboard(SDL_RELEASED,
-                                SDL_Atari_TranslateKey(i, &keysym, SDL_FALSE));
+                                SDL_Atari_TranslateKey(i, &keysym,
+                                                       SDL_FALSE));
     }
 
     SDL_memcpy(gem_previouskeyboard, gem_currentkeyboard,
@@ -291,8 +292,8 @@
     int scancode, asciicode;
 
     if (kc) {
-        scancode=(kc>>8) & (ATARIBIOS_MAXKEYS-1);
-        gem_currentkeyboard[scancode]=0xFF;
+        scancode = (kc >> 8) & (ATARIBIOS_MAXKEYS - 1);
+        gem_currentkeyboard[scancode] = 0xFF;
     }
 
     /* Read special keys */