mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-30 09:45:36 +00:00
Clean up old-style null check
This commit is contained in:
parent
21c9f5304d
commit
cf646af707
1 changed files with 1 additions and 1 deletions
|
|
@ -898,7 +898,7 @@ const bool *SDL_GetKeyboardState(int *numkeys)
|
|||
{
|
||||
SDL_Keyboard *keyboard = &SDL_keyboard;
|
||||
|
||||
if (numkeys != (int *)0) {
|
||||
if (numkeys) {
|
||||
*numkeys = SDL_SCANCODE_COUNT;
|
||||
}
|
||||
return keyboard->keystate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue