# HG changeset patch # User Darkvater # Date 1154384139 0 # Node ID 5c1b9b3043b17b95810f8df54b6c9a71e367eb3c # Parent e6ba94085b81698e59c38129f0e83f6c8990c574 (svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions. diff -r e6ba94085b81 -r 5c1b9b3043b1 fileio.c --- a/fileio.c Mon Jul 31 22:11:34 2006 +0000 +++ b/fileio.c Mon Jul 31 22:15:39 2006 +0000 @@ -103,7 +103,7 @@ FioCloseFile(i); } -bool FiosCheckFileExists(const char *filename) +bool FioCheckFileExists(const char *filename) { FILE *f; char buf[MAX_PATH]; diff -r e6ba94085b81 -r 5c1b9b3043b1 fileio.h --- a/fileio.h Mon Jul 31 22:11:34 2006 +0000 +++ b/fileio.h Mon Jul 31 22:15:39 2006 +0000 @@ -14,6 +14,6 @@ void FioOpenFile(int slot, const char *filename); void FioReadBlock(void *ptr, uint size); void FioSkipBytes(int n); -bool FiosCheckFileExists(const char *filename); +bool FioCheckFileExists(const char *filename); #endif /* FILEIO_H */ diff -r e6ba94085b81 -r 5c1b9b3043b1 newgrf.c --- a/newgrf.c Mon Jul 31 22:11:34 2006 +0000 +++ b/newgrf.c Mon Jul 31 22:15:39 2006 +0000 @@ -2996,7 +2996,7 @@ _cur_stage = stage; _cur_spriteid = load_index; for (c = _first_grfconfig; c != NULL; c = c->next) { - if (!FiosCheckFileExists(c->filename)) { + if (!FioCheckFileExists(c->filename)) { // TODO: usrerror() error("NewGRF file missing: %s", c->filename); }