Mercurial > hg > openttd
changeset 7575:83da0ffcda47 draft
(svn r11100) -Fix r11099: darn typos...
author | truelight <truelight@openttd.org> |
---|---|
date | Thu, 13 Sep 2007 18:50:42 +0000 |
parents | 62a4ffc139c0 |
children | fcfed1449888 |
files | src/fileio.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -303,7 +303,7 @@ } /** 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; Searchpath sp; @@ -311,7 +311,7 @@ assert(subdir < NUM_SUBDIRS || subdir == NO_DIRECTORY); 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; }