How could I have forgotten about fputs?

SVN r1308 (trunk)
This commit is contained in:
Randy Heit 2008-12-07 01:50:12 +00:00
parent ef3b57fb8f
commit b90a04f3be
1 changed files with 2 additions and 2 deletions

View File

@ -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;