add missing args to Cmd_QuoteString in other files
[xonotic/darkplaces.git] / cvar.c
diff --git a/cvar.c b/cvar.c
index b254593..8d5af14 100644 (file)
--- a/cvar.c
+++ b/cvar.c
@@ -758,8 +758,8 @@ void Cvar_WriteVariables (qfile_t *f)
        for (var = cvar_vars ; var ; var = var->next)
                if ((var->flags & CVAR_SAVE) && (strcmp(var->string, var->defstring) || !(var->flags & CVAR_DEFAULTSET)))
                {
-                       Cmd_QuoteString(buf1, sizeof(buf1), var->name, "\"\\$");
-                       Cmd_QuoteString(buf2, sizeof(buf2), var->string, "\"\\$");
+                       Cmd_QuoteString(buf1, sizeof(buf1), var->name, "\"\\$", false);
+                       Cmd_QuoteString(buf2, sizeof(buf2), var->string, "\"\\$", false);
                        FS_Printf(f, "%s\"%s\" \"%s\"\n", var->flags & CVAR_ALLOCATED ? "seta " : "", buf1, buf2);
                }
 }