path cleanup

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1527 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-12-30 02:55:46 +00:00
parent eb33e3e105
commit eb8523ea85
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -65,8 +65,7 @@ VARF(vsync, -1, -1, 1, initwarning());
void writeinitcfg()
{
s_sprintfd(fn)("config%cinit.cfg", PATHDIV);
FILE *f = openfile(fn, "w");
FILE *f = openfile(path("config/init.cfg", true), "w");
if(!f) return;
fprintf(f, "// automatically written on exit, DO NOT MODIFY\n// modify settings in game\n");
fprintf(f, "scr_w %d\n", scr_w);