Fix out of bounds access to keybindings: K_PAUSE is 255. Noticed by Axel Gneiting (bug #14).

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1336 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2016-08-21 17:37:21 +00:00
parent 334443713a
commit 633f009252
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define K_LTRIGGER 251 #define K_LTRIGGER 251
#define K_RTRIGGER 252 #define K_RTRIGGER 252
#define MAX_KEYS 253 #define MAX_KEYS 256
#define MAXCMDLINE 256 #define MAXCMDLINE 256