r171 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 20 20:09:34 EDT 2005


Author: tma
Date: 2005-10-20 20:09:34 -0400 (Thu, 20 Oct 2005)
New Revision: 171

Modified:
   trunk/code/qcommon/common.c
Log:
* Tiny patch to print values of cvars when tab completing ala ET


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2005-10-20 16:19:43 UTC (rev 170)
+++ trunk/code/qcommon/common.c	2005-10-21 00:09:34 UTC (rev 171)
@@ -3215,7 +3215,7 @@
 */
 static void PrintMatches( const char *s ) {
 	if ( !Q_stricmpn( s, shortestMatch, strlen( shortestMatch ) ) ) {
-		Com_Printf( "    %s\n", s );
+		Com_Printf( "    %s = \"%s\"\n", s, Cvar_VariableString( s ) );
 	}
 }
 




More information about the quake3-commits mailing list