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

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1336 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2016-08-21 17:37:21 +00:00
parent 74284cc6f3
commit c1705e00d4

View file

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