about summary refs log tree commit diff
path: root/src/game/client/lineinput.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-23 16:18:33 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-23 16:18:33 +0000
commitbd5b2b9f85522203609df18292df510dbb674246 (patch)
treec7c0d3652718526bcaaf7c7e32ff6e1f03a4b156 /src/game/client/lineinput.cpp
parent6d86d949fdfec590e9bed0ff126271ebab81796a (diff)
downloadzcatch-bd5b2b9f85522203609df18292df510dbb674246.tar.gz
zcatch-bd5b2b9f85522203609df18292df510dbb674246.zip
removed glfw and portaudio. SDL is now a requirement
Diffstat (limited to 'src/game/client/lineinput.cpp')
-rw-r--r--src/game/client/lineinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/lineinput.cpp b/src/game/client/lineinput.cpp
index 7a02d1f9..7ec22d4e 100644
--- a/src/game/client/lineinput.cpp
+++ b/src/game/client/lineinput.cpp
@@ -48,7 +48,7 @@ void LINEINPUT::process_input(INPUT_EVENT e)
 			cursor_pos--;
 			len--;
 		}
-		else if (k == KEY_DEL && cursor_pos < len)
+		else if (k == KEY_DELETE && cursor_pos < len)
 		{
 			memmove(str + cursor_pos, str + cursor_pos + 1, len - cursor_pos);
 			len--;