From: sajt Date: Sat, 18 Mar 2006 12:17:01 +0000 (+0000) Subject: This made the cvar completion so much more readable X-Git-Tag: xonotic-v0.1.0preview~4180 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b8d63f8b1a4a6d8cc880be5ff8ea83aa6fbba365;p=xonotic%2Fdarkplaces.git This made the cvar completion so much more readable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6139 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cvar.c b/cvar.c index b5fdf2b7..886ea96e 100644 --- a/cvar.c +++ b/cvar.c @@ -203,7 +203,7 @@ void Cvar_CompleteCvarPrint (const char *partial) // Loop through the command list and print all matches for (cvar = cvar_vars; cvar; cvar = cvar->next) if (!strncasecmp(partial, cvar->name, len)) - Con_Printf("%s : \"%s\" (\"%s\") : %s\n", cvar->name, cvar->string, cvar->defstring, cvar->description); + Con_Printf ("%c3%s%s : \"%s\" (\"%s\") : %s\n", STRING_COLOR_TAG, cvar->name, STRING_COLOR_DEFAULT_STR, cvar->string, cvar->defstring, cvar->description); }