mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
keys.c: K_BACKSPACE (127) is a non printable character.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1021 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
f44d44d419
commit
1e522abb2d
1 changed files with 2 additions and 2 deletions
|
@ -451,7 +451,7 @@ void Char_Console (int key)
|
|||
size_t len;
|
||||
char *workline = key_lines[edit_line];
|
||||
|
||||
if (key < 32 || key > 127)
|
||||
if (key < 32 || key > 126)
|
||||
return; // non printable
|
||||
|
||||
if (key_linepos < MAXCMDLINE-1)
|
||||
|
@ -539,7 +539,7 @@ void Key_Message (int key)
|
|||
|
||||
void Char_Message (int key)
|
||||
{
|
||||
if (key < 32 || key > 127)
|
||||
if (key < 32 || key > 126)
|
||||
return; // non printable
|
||||
|
||||
if (chat_bufferlen == sizeof(chat_buffer) - 1)
|
||||
|
|
Loading…
Reference in a new issue