[quake3-commits] r2165 - trunk/code/sys

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 12 16:14:37 EDT 2011


Author: ztm
Date: 2011-09-12 16:14:36 -0400 (Mon, 12 Sep 2011)
New Revision: 2165

Modified:
   trunk/code/sys/con_win32.c
Log:
Fixed win32 dedicated server console output. It use to write input line and then write output over the top of it. Reported by Ensiform.

Modified: trunk/code/sys/con_win32.c
===================================================================
--- trunk/code/sys/con_win32.c	2011-09-12 14:54:01 UTC (rev 2164)
+++ trunk/code/sys/con_win32.c	2011-09-12 20:14:36 UTC (rev 2165)
@@ -326,13 +326,14 @@
 		}
 	}
 
-	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 @@
 	Com_Printf( "%s\n", qconsole_line );
 
 	qconsole_linelen = 0;
+	CON_Show();
 
 	return qconsole_line;
 }



More information about the quake3-commits mailing list