Fixed array overrun
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402719
This commit is contained in:
parent
0f15089eef
commit
1623092784
2 changed files with 5 additions and 3 deletions
|
@ -37,7 +37,7 @@ struct SDL_Keyboard
|
|||
/* Data common to all keyboards */
|
||||
SDL_WindowID focus;
|
||||
Uint16 modstate;
|
||||
Uint8 keystate[(SDL_NUM_SCANCODES + 7) / 8];
|
||||
Uint8 keystate[SDL_NUM_SCANCODES];
|
||||
SDLKey keymap[SDL_NUM_SCANCODES];
|
||||
|
||||
void *driverdata;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue