mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
How could I have forgotten about fputs?
SVN r1308 (trunk)
This commit is contained in:
parent
ef3b57fb8f
commit
b90a04f3be
1 changed files with 2 additions and 2 deletions
|
@ -637,7 +637,7 @@ bool FConfigFile::WriteConfigFile () const
|
||||||
entry = section->RootEntry;
|
entry = section->RootEntry;
|
||||||
if (section->Note.IsNotEmpty())
|
if (section->Note.IsNotEmpty())
|
||||||
{
|
{
|
||||||
fprintf (file, "%s", section->Note.GetChars());
|
fputs (section->Note.GetChars(), file);
|
||||||
}
|
}
|
||||||
fprintf (file, "[%s]\n", section->Name);
|
fprintf (file, "[%s]\n", section->Name);
|
||||||
while (entry != NULL)
|
while (entry != NULL)
|
||||||
|
@ -646,7 +646,7 @@ bool FConfigFile::WriteConfigFile () const
|
||||||
entry = entry->Next;
|
entry = entry->Next;
|
||||||
}
|
}
|
||||||
section = section->Next;
|
section = section->Next;
|
||||||
fprintf (file, "\n");
|
fputs ("\n", file);
|
||||||
}
|
}
|
||||||
fclose (file);
|
fclose (file);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue