forgot to convert unbind's keyname

This commit is contained in:
Bill Currie 2001-08-17 01:55:54 +00:00
parent bb2079a6d7
commit 86be79d1c7

View file

@ -863,11 +863,14 @@ Key_In_Bind_f (void)
void
Key_Unbind_f (void)
{
const char *key;
if (Cmd_Argc () != 2) {
Con_Printf ("unbind <key> : 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