aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_keys.c')
-rw-r--r--code/client/cl_keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c
index a23b4ee..889ca82 100644
--- a/code/client/cl_keys.c
+++ b/code/client/cl_keys.c
@@ -483,7 +483,7 @@ void Console_Key (int key) {
// enter finishes the line
if ( key == K_ENTER || key == K_KP_ENTER ) {
- // if not in the game explicitly prepent a slash if needed
+ // if not in the game explicitly prepend a slash if needed
if ( cls.state != CA_ACTIVE && g_consoleField.buffer[0] != '\\'
&& g_consoleField.buffer[0] != '/' ) {
char temp[MAX_STRING_CHARS];
@@ -528,7 +528,7 @@ void Console_Key (int key) {
// command completion
if (key == K_TAB) {
- Field_CompleteCommand(&g_consoleField);
+ Field_AutoComplete(&g_consoleField);
return;
}