From 62fa0935d217c346a62987fa04ee3f122a7e5717 Mon Sep 17 00:00:00 2001 From: svdijk Date: Thu, 2 Oct 2014 19:34:33 +0000 Subject: [PATCH] input: Minor addition to r1077. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1079 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/Quake/keys.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/quakespasm/Quake/keys.c b/quakespasm/Quake/keys.c index 7c078603..f9712ba1 100644 --- a/quakespasm/Quake/keys.c +++ b/quakespasm/Quake/keys.c @@ -966,8 +966,8 @@ void Key_Event (int key, qboolean down) { if (key_repeats[key] == 0) return; - else - key_repeats[key] = 0; + + key_repeats[key] = 0; } if (key_inputgrab.active) @@ -1163,6 +1163,9 @@ qboolean Key_IgnoreTextInput (int key) if (!keybindings[key]) return false; + if (key_inputgrab.active) + return false; + switch (key_dest) { case key_message: