From 0866b667e0cc3a19f21679edf5f9df7857ec40fc Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 12 Sep 2011 20:14:36 +0000 Subject: [PATCH] Fixed win32 dedicated server console output. It use to write input line and then write output over the top of it. Reported by Ensiform. --- code/sys/con_win32.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/sys/con_win32.c b/code/sys/con_win32.c index 94ca0b51..1e22dd4e 100644 --- a/code/sys/con_win32.c +++ b/code/sys/con_win32.c @@ -326,13 +326,14 @@ char *CON_Input( void ) } } - CON_Show(); - - if( newlinepos < 0) + if( newlinepos < 0) { + CON_Show(); return NULL; + } if( !qconsole_linelen ) { + CON_Show(); Com_Printf( "\n" ); return NULL; } @@ -341,6 +342,7 @@ char *CON_Input( void ) Com_Printf( "%s\n", qconsole_line ); qconsole_linelen = 0; + CON_Show(); return qconsole_line; }