Expose Key_StringToKeynum.

This commit is contained in:
Bill Currie 2013-01-28 16:34:29 +09:00
parent 173af3a992
commit 475d90e96f
2 changed files with 2 additions and 1 deletions

View file

@ -509,6 +509,7 @@ void Key_KeydestCallback (keydest_callback_t *callback);
const char *Key_KeynumToString (knum_t keynum); const char *Key_KeynumToString (knum_t keynum);
int Key_StringToKeynum (const char *str);
struct progs_s; struct progs_s;
void Key_Progs_Init (struct progs_s *pr); void Key_Progs_Init (struct progs_s *pr);
#endif #endif

View file

@ -632,7 +632,7 @@ Key_Console (knum_t key, short unicode)
the given string. Single ascii characters return themselves, while the given string. Single ascii characters return themselves, while
the QFK_* names are matched up. the QFK_* names are matched up.
*/ */
static int VISIBLE int
Key_StringToKeynum (const char *str) Key_StringToKeynum (const char *str)
{ {
keyname_t *kn; keyname_t *kn;