Eliminate key_none.

It is no longer needed as it was a hack to get key repeat control working
properly.
This commit is contained in:
Bill Currie 2013-01-14 12:57:17 +09:00
parent 2a3986368e
commit 5d8aab744f
2 changed files with 0 additions and 5 deletions

View File

@ -438,13 +438,11 @@ typedef enum {
IMT_LAST,
} imt_t; // Input Mapping Table
// key_none should, preferably, be last
typedef enum {
key_game,
key_console,
key_message,
key_menu,
key_none
} keydest_t;
#ifndef __QFCC__

View File

@ -251,9 +251,6 @@ cl_chat_keydest (keydest_t keydest)
case key_menu:
CL_ChatInfo (2); // supposed to be for loss of focus...
break;
case key_none: // shouldn't happen
CL_ChatInfo (3);
break;
}
}