Changeset - r4201:fa67baceccee
[Not reviewed]
master
0 3 0
Darkvater - 18 years ago 2006-07-31 22:15:39
darkvater@openttd.org
(svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
fileio.c
Show inline comments
 
@@ -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];
fileio.h
Show inline comments
 
@@ -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 */
newgrf.c
Show inline comments
 
@@ -2996,7 +2996,7 @@ void LoadNewGRF(uint load_index, uint fi
 
		_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);
 
			}
0 comments (0 inline, 0 general)