summaryrefslogtreecommitdiff
path: root/source/cl_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cl_console.c')
-rw-r--r--source/cl_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_console.c b/source/cl_console.c
index 61d9d3e..af89fc5 100644
--- a/source/cl_console.c
+++ b/source/cl_console.c
@@ -404,8 +404,8 @@ void Con_Init( void ) {
con_scroll = Cvar_Get( "con_scroll", "0", CVAR_ARCHIVE );
con_history = Cvar_Get( "con_history", "0", 0 );
- IF_Init( &con.prompt.inputLine, 1, MAX_FIELD_TEXT, NULL );
- IF_Init( &con.chatPrompt.inputLine, 1, MAX_FIELD_TEXT, NULL );
+ IF_Init( &con.prompt.inputLine, 0, MAX_FIELD_TEXT - 1 );
+ IF_Init( &con.chatPrompt.inputLine, 0, MAX_FIELD_TEXT - 1 );
con.prompt.printf = Con_Printf;