mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed spacing
This commit is contained in:
parent
4e9c9fce13
commit
6d6edcb8b9
@ -968,8 +968,10 @@ 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user