]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.c
This is a patch from Elric greatly cleaning up the filesystem portions of the engine...
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index f0923b02cb9c9546f58488c208a2f5b8ab6526b3..790bdd051220133bc264c2465cec29edbd6140b2 100644 (file)
--- a/cvar.c
+++ b/cvar.c
@@ -323,13 +323,13 @@ Writes lines containing "set variable value" for all variables
 with the archive flag set to true.
 ============
 */
-void Cvar_WriteVariables (QFile *f)
+void Cvar_WriteVariables (qfile_t *f)
 {
        cvar_t  *var;
 
        for (var = cvar_vars ; var ; var = var->next)
                if (var->flags & CVAR_SAVE)
-                       Qprintf (f, "%s \"%s\"\n", var->name, var->string);
+                       FS_Printf (f, "%s \"%s\"\n", var->name, var->string);
 }