From 86be79d1c718c3b6048f570af54c5783d06c5c79 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 17 Aug 2001 01:55:54 +0000 Subject: [PATCH] forgot to convert unbind's keyname --- libs/video/targets/keys.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/video/targets/keys.c b/libs/video/targets/keys.c index 6f13607f1..13e8cf984 100644 --- a/libs/video/targets/keys.c +++ b/libs/video/targets/keys.c @@ -863,11 +863,14 @@ Key_In_Bind_f (void) void Key_Unbind_f (void) { + const char *key; + if (Cmd_Argc () != 2) { Con_Printf ("unbind : remove commands from a key\n"); return; } - Key_In_Unbind (in_bind_kgt->string, Cmd_Argv (1)); + key = OK_TranslateKeyName (Cmd_Argv (1)); + Key_In_Unbind (in_bind_kgt->string, key); } void