projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c7428
)
This made the cvar completion so much more readable
author
sajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Mar 2006 12:17:01 +0000
(12:17 +0000)
committer
sajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Mar 2006 12:17:01 +0000
(12:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6139
d7cf8633
-e32d-0410-b094-
e92efae38249
cvar.c
patch
|
blob
|
history
diff --git
a/cvar.c
b/cvar.c
index b5fdf2b732f47756b803948a184d0b966bc4b841..886ea96e8b2385b842e86d2d0491f4bb8cde476c 100644
(file)
--- 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);
}