Explorar o código

Fixed spacing

Sam Lantinga %!s(int64=9) %!d(string=hai) anos
pai
achega
6d6edcb8b9
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/events/SDL_keyboard.c

+ 4 - 2
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;