about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 3122a3bd..29372b62 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -240,7 +240,7 @@ int MENUS::ui_do_edit_box(void *id, const RECT *rect, char *str, int str_size, f
 			if (at_index > len)
 				at_index = len;
 			
-			if (!(c >= 0 && c < 32))
+			if (!(c >= 0 && c < 32) && c != 127)
 			{
 				if (len < str_size - 1 && at_index < str_size - 1)
 				{