Commit 6d6edcb8b9a8a36ca8d2344def721561b9c2cf10

Sam Lantinga 2017-01-09T11:30:29

Fixed spacing

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/events/SDL_keyboard.c b/src/events/SDL_keyboard.c
index 24f402a..f7e9ddf 100644
--- a/src/events/SDL_keyboard.c
+++ b/src/events/SDL_keyboard.c
@@ -968,8 +968,10 @@ SDL_GetKeyFromName(const char *name)
 {
     SDL_Keycode key;
 
-        /* Check input */
-        if (name == NULL) return SDLK_UNKNOWN;
+    /* Check input */
+    if (name == NULL) {
+        return SDLK_UNKNOWN;
+    }
 
     /* If it's a single UTF-8 character, then that's the keycode itself */
     key = *(const unsigned char *)name;