mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Fixed spacing
This commit is contained in:
@@ -969,7 +969,9 @@ SDL_GetKeyFromName(const char *name)
|
|||||||
SDL_Keycode key;
|
SDL_Keycode key;
|
||||||
|
|
||||||
/* Check input */
|
/* Check input */
|
||||||
if (name == NULL) return SDLK_UNKNOWN;
|
if (name == NULL) {
|
||||||
|
return SDLK_UNKNOWN;
|
||||||
|
}
|
||||||
|
|
||||||
/* If it's a single UTF-8 character, then that's the keycode itself */
|
/* If it's a single UTF-8 character, then that's the keycode itself */
|
||||||
key = *(const unsigned char *)name;
|
key = *(const unsigned char *)name;
|
||||||
|
Reference in New Issue
Block a user