Rename some functions for consistency.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1064 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Sander van Dijk 2014-09-23 02:19:57 +00:00
parent 46e003557a
commit c8da3f1f61
3 changed files with 7 additions and 7 deletions

View file

@ -1053,7 +1053,7 @@ void Char_Event (int key)
Char_Message (key); Char_Message (key);
break; break;
case key_menu: case key_menu:
M_Textinput (key); M_Charinput (key);
break; break;
case key_console: case key_console:
Char_Console (key); Char_Console (key);

View file

@ -817,7 +817,7 @@ forward:
} }
void M_Setup_Textinput (int k) void M_Setup_Char (int k)
{ {
int l; int l;
@ -1798,7 +1798,7 @@ void M_LanConfig_Key (int key)
} }
void M_LanConfig_Textinput (int key) void M_LanConfig_Char (int key)
{ {
int l; int l;
@ -2632,15 +2632,15 @@ void M_Keydown (int key)
} }
void M_Textinput (int key) void M_Charinput (int key)
{ {
switch (m_state) switch (m_state)
{ {
case m_setup: case m_setup:
M_Setup_Textinput (key); M_Setup_Char (key);
return; return;
case m_lanconfig: case m_lanconfig:
M_LanConfig_Textinput (key); M_LanConfig_Char (key);
return; return;
default: default:
return; return;

View file

@ -54,7 +54,7 @@ extern qboolean m_keys_bind_grab;
// //
void M_Init (void); void M_Init (void);
void M_Keydown (int key); void M_Keydown (int key);
void M_Textinput (int key); void M_Charinput (int key);
void M_ToggleMenu_f (void); void M_ToggleMenu_f (void);
void M_Menu_Main_f (void); void M_Menu_Main_f (void);