From bd5b2b9f85522203609df18292df510dbb674246 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 23 Oct 2008 16:18:33 +0000 Subject: removed glfw and portaudio. SDL is now a requirement --- src/game/client/components/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/console.cpp') diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index ab0c9aae..9efebd92 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -61,7 +61,7 @@ void CONSOLE::INSTANCE::on_input(INPUT_EVENT e) if(e.flags&INPFLAG_PRESS) { - if(e.key == KEY_ENTER || e.key == KEY_KP_ENTER) + if(e.key == KEY_RETURN || e.key == KEY_KP_ENTER) { if(input.get_string()[0]) { @@ -298,7 +298,7 @@ bool CONSOLE::on_input(INPUT_EVENT e) if(e.key >= KEY_F1 && e.key <= KEY_F15) return false; - if(e.key == KEY_ESC && (e.flags&INPFLAG_PRESS)) + if(e.key == KEY_ESCAPE && (e.flags&INPFLAG_PRESS)) toggle(console_type); else current_console()->on_input(e); -- cgit 1.4.1