Mercurial > hg > early-roguelike
diff arogue5/save.c @ 199:efdbeec0816d
Advanced Rogue 5: remove an unneeded fstat() call.
The results of the call are no longer used to check for savefile
copying.
author | John "Elwin" Edwards |
---|---|
date | Tue, 11 Aug 2015 16:19:04 -0400 |
parents | 7795b0938921 |
children | 56e748983fa8 |
line wrap: on
line diff
--- a/arogue5/save.c Tue Aug 11 16:12:09 2015 -0400 +++ b/arogue5/save.c Tue Aug 11 16:19:04 2015 -0400 @@ -134,7 +134,6 @@ fwrite("junk", 1, 5, savef); fseek(savef, 0L, 0); /* _endwin = TRUE; */ - fstat(fileno(savef), &sbuf); encwrite(version,strlen(version)+1,savef); sprintf(prbuf,"%d x %d\n", LINES, COLS);