Fixed spacing
This commit is contained in:
1 parent
4e9c9fce13
commit
6d6edcb8b9
1 file changed
+4
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user