diff options
author | Darkvater <Darkvater@openttd.org> | 2006-07-31 22:15:39 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-07-31 22:15:39 +0000 |
commit | 3797cf803802b4c026f90306ecd379f1e2a17298 (patch) | |
tree | 3b7a496805b14738b8a8b816db82a0ea424631b3 | |
parent | 01f11b997022d2b6e1937b480f0c231a1bcdb2c4 (diff) | |
download | openttd-3797cf803802b4c026f90306ecd379f1e2a17298.tar.xz |
(svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
-rw-r--r-- | fileio.c | 2 | ||||
-rw-r--r-- | fileio.h | 2 | ||||
-rw-r--r-- | newgrf.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -103,7 +103,7 @@ void FioCloseAll(void) FioCloseFile(i); } -bool FiosCheckFileExists(const char *filename) +bool FioCheckFileExists(const char *filename) { FILE *f; char buf[MAX_PATH]; @@ -14,6 +14,6 @@ FILE *FioFOpenFile(const char *filename); 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 */ @@ -2996,7 +2996,7 @@ void LoadNewGRF(uint load_index, uint file_index) _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); } |