[quake3-commits] r1619 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Sep 15 01:57:14 EDT 2009


Author: icculus
Date: 2009-09-15 01:57:14 -0400 (Tue, 15 Sep 2009)
New Revision: 1619

Modified:
   trunk/code/qcommon/cmd.c
Log:
Echo console command now colorizes by string, not token.

  Fixes Bugzilla #3879.


Modified: trunk/code/qcommon/cmd.c
===================================================================
--- trunk/code/qcommon/cmd.c	2009-09-15 05:50:55 UTC (rev 1618)
+++ trunk/code/qcommon/cmd.c	2009-09-15 05:57:14 UTC (rev 1619)
@@ -297,11 +297,7 @@
 */
 void Cmd_Echo_f (void)
 {
-	int		i;
-	
-	for (i=1 ; i<Cmd_Argc() ; i++)
-		Com_Printf ("%s ",Cmd_Argv(i));
-	Com_Printf ("\n");
+	Com_Printf ("%s\n", Cmd_Args());
 }
 
 



More information about the quake3-commits mailing list