From 188474671818bf5e9c9d276a790e40d13157c1aa Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 21 Oct 2005 00:09:34 +0000 Subject: * Tiny patch to print values of cvars when tab completing ala ET git-svn-id: svn://svn.icculus.org/quake3/trunk@171 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/qcommon') diff --git a/code/qcommon/common.c b/code/qcommon/common.c index f1b52ea..439acca 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -3215,7 +3215,7 @@ PrintMatches */ 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 ) ); } } -- cgit v1.2.3