diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-09-25 13:13:05 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-09-25 13:13:05 +0000 |
commit | 95f993680be144ec40fa7f08002faf27a2e229a7 (patch) | |
tree | d1bf8e3174ffbe3e6bb332682b70c694b898da67 /source/cl_console.c | |
parent | ea8394f51c74208866a891def93c55bd6cd3529e (diff) |
Strip trailing whitespace as gi.args() expects.
Properly set maxChars value for input fields on Unix.
Diffstat (limited to 'source/cl_console.c')
-rw-r--r-- | source/cl_console.c | 4 |
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; |