diff options
Diffstat (limited to 'src/game/client/lineinput.cpp')
| -rw-r--r-- | src/game/client/lineinput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/client/lineinput.cpp b/src/game/client/lineinput.cpp index 7ec22d4e..40c47d41 100644 --- a/src/game/client/lineinput.cpp +++ b/src/game/client/lineinput.cpp @@ -29,7 +29,8 @@ void LINEINPUT::process_input(INPUT_EVENT e) char c = e.ch; int k = e.key; - if (!(c >= 0 && c < 32)) + // 127 is produced on Mac OS X and corresponds to the delete key + if (!(c >= 0 && c < 32) && c != 127) { if (len < sizeof(str) - 1 && cursor_pos < sizeof(str) - 1) { |