aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-21 00:09:34 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-21 00:09:34 +0000
commit188474671818bf5e9c9d276a790e40d13157c1aa (patch)
tree0d65ecf4942512dabd73692e7bb0a23613d1acb5
parent34809b18f9353cb957031cc7bd48bf1d9dc12fe4 (diff)
downloadioquake3-aero-188474671818bf5e9c9d276a790e40d13157c1aa.tar.gz
ioquake3-aero-188474671818bf5e9c9d276a790e40d13157c1aa.zip
* 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
-rw-r--r--code/qcommon/common.c2
1 files changed, 1 insertions, 1 deletions
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 ) );
}
}