1
0
Fork 0

(svn r11100) -Fix r11099: darn typos...

release/0.6
truelight 2007-09-13 18:50:42 +00:00
parent 3d0ac92267
commit 7648df7fb5
1 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ FILE *FioFOpenFileSp(const char *filename, const char *mode, Searchpath sp, Subd
} }
/** Opens OpenTTD files somewhere in a personal or global directory */ /** Opens OpenTTD files somewhere in a personal or global directory */
FILE *FioFOpenFile(const char *filename, const char *mode, Subdirectory subdir, size_t *size) FILE *FioFOpenFile(const char *filename, const char *mode, Subdirectory subdir, size_t *filesize)
{ {
FILE *f = NULL; FILE *f = NULL;
Searchpath sp; Searchpath sp;
@ -311,7 +311,7 @@ FILE *FioFOpenFile(const char *filename, const char *mode, Subdirectory subdir,
assert(subdir < NUM_SUBDIRS || subdir == NO_DIRECTORY); assert(subdir < NUM_SUBDIRS || subdir == NO_DIRECTORY);
FOR_ALL_SEARCHPATHS(sp) { FOR_ALL_SEARCHPATHS(sp) {
f = FioFOpenFileSp(filename, mode, sp, subdir, size); f = FioFOpenFileSp(filename, mode, sp, subdir, filesize);
if (f != NULL || subdir == NO_DIRECTORY) break; if (f != NULL || subdir == NO_DIRECTORY) break;
} }