mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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;
|
||||
if (section->Note.IsNotEmpty())
|
||||
{
|
||||
fprintf (file, "%s", section->Note.GetChars());
|
||||
fputs (section->Note.GetChars(), file);
|
||||
}
|
||||
fprintf (file, "[%s]\n", section->Name);
|
||||
while (entry != NULL)
|
||||
|
@ -646,7 +646,7 @@ bool FConfigFile::WriteConfigFile () const
|
|||
entry = entry->Next;
|
||||
}
|
||||
section = section->Next;
|
||||
fprintf (file, "\n");
|
||||
fputs ("\n", file);
|
||||
}
|
||||
fclose (file);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue