]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.c
cleaned up all Con_Printf calls that were missing a \n
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index 27853eec54b3d504feaa968aa5c6a6532e405045..394a83270ac220db05219120c40ddb17770ca00c 100644 (file)
--- a/cvar.c
+++ b/cvar.c
@@ -294,7 +294,7 @@ void Cvar_RegisterVariable (cvar_t *variable)
                if (cvar->flags & CVAR_ALLOCATED)
                {
                        if (developer.integer)
-                               Con_Printf("...  replacing existing allocated cvar {\"%s\", \"%s\", %i}", cvar->name, cvar->string, cvar->flags);
+                               Con_Printf("...  replacing existing allocated cvar {\"%s\", \"%s\", %i}\n", cvar->name, cvar->string, cvar->flags);
                        // fixed variables replace allocated ones
                        // (because the engine directly accesses fixed variables)
                        // NOTE: this isn't actually used currently
@@ -505,10 +505,10 @@ void Cvar_List_f (void)
                count++;
        }
 
-       Con_Printf("%i cvar(s)", count);
        if (partial)
-               Con_Printf(" beginning with \"%s\"", partial);
-       Con_Print("\n");
+               Con_Printf("%i cvar(s) beginning with \"%s\"\n", count, partial);
+       else
+               Con_Printf("%i cvar(s)\n", count);
 }
 // 2000-01-09 CvarList command by Maddes