Skip to content

Commit

Permalink
Fixed spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 9, 2017
1 parent 4e9c9fc commit 6d6edcb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/events/SDL_keyboard.c
Expand Up @@ -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;
Expand Down

0 comments on commit 6d6edcb

Please sign in to comment.