diff src/video/win32/SDL_win32events.c @ 2324:3202e4826c57

more valgrind errors fixed. Plus I ran make indent which changed a few files.
author Bob Pendleton <bob@pendleton.com>
date Fri, 07 Mar 2008 17:20:37 +0000
parents f537a293b3da
children 44e49d3fa6cf abc8acb8e3d7
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c	Thu Mar 06 23:07:02 2008 +0000
+++ b/src/video/win32/SDL_win32events.c	Fri Mar 07 17:20:37 2008 +0000
@@ -36,7 +36,7 @@
 #define REPEATED_KEYMASK    (1<<30)
 #define EXTENDED_KEYMASK    (1<<24)
 
-#define VK_ENTER    10  /* Keypad Enter ... no VKEY defined? */
+#define VK_ENTER    10          /* Keypad Enter ... no VKEY defined? */
 
 /* Make sure XBUTTON stuff is defined that isn't in older Platform SDKs... */
 #ifndef WM_XBUTTONDOWN
@@ -53,7 +53,7 @@
 RemapVKEY(WPARAM wParam, LPARAM lParam)
 {
     int i;
-    BYTE scancode = (BYTE)((lParam >> 16) & 0xFF);
+    BYTE scancode = (BYTE) ((lParam >> 16) & 0xFF);
 
     /* Windows remaps alphabetic keys based on current layout.
        We try to provide USB scancodes, so undo this mapping.
@@ -72,7 +72,7 @@
     /* Keypad keys are a little trickier, we always scan for them. */
     for (i = 0; i < SDL_arraysize(keypad_scancodes); ++i) {
         if (scancode == keypad_scancodes[i]) {
-            wParam = VK_NUMPAD0+i;
+            wParam = VK_NUMPAD0 + i;
             break;
         }
     }