Simplify the signature of savefile().
This commit is contained in:
parent
58cf204eba
commit
4b08b726f9
4 changed files with 10 additions and 9 deletions
2
main.c
2
main.c
|
@ -24,7 +24,7 @@ void autosave(void)
|
|||
{
|
||||
if (autosave_fp != NULL) {
|
||||
rewind(autosave_fp);
|
||||
savefile(autosave_fp, /* version (auto): */0);
|
||||
savefile(autosave_fp);
|
||||
fflush(autosave_fp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue