]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.c
This made the cvar completion so much more readable
[xonotic/darkplaces.git] / console.c
index a90439eaa34c6aa26a9f63df0300995fe3eae4ca..9c92e8163fa892540e5663a87afc8809a6b409dc 100644 (file)
--- a/console.c
+++ b/console.c
@@ -579,7 +579,7 @@ void Con_Print(const char *msg)
                        // FIXME: 1. perhaps we should use a terminal system 2. use a constant instead of 7!
                        line[index++] = STRING_COLOR_TAG;
                        // assert( STRING_COLOR_DEFAULT < 10 )
-                       line[index++] = STRING_COLOR_DEFAULT_STR;
+                       line[index++] = STRING_COLOR_DEFAULT + '0';
                        // special color codes for chat messages must always come first
                        // for Con_PrintToHistory to work properly
                        if (*msg <= 2)