Mercurial > hg > openttd
changeset 4201:29a0c19df3fb draft
(svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
author | Darkvater <Darkvater@openttd.org> |
---|---|
date | Mon, 31 Jul 2006 22:15:39 +0000 |
parents | de110fe3f268 |
children | 00c70f28fbcc |
files | fileio.c fileio.h newgrf.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/fileio.c +++ b/fileio.c @@ -103,7 +103,7 @@ FioCloseFile(i); } -bool FiosCheckFileExists(const char *filename) +bool FioCheckFileExists(const char *filename) { FILE *f; char buf[MAX_PATH];
--- a/fileio.h +++ b/fileio.h @@ -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 */
--- a/newgrf.c +++ b/newgrf.c @@ -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); }