summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-09-13 18:50:42 +0000
committertruelight <truelight@openttd.org>2007-09-13 18:50:42 +0000
commite994f3195ae5d4f3dde0d4b32b86cf4ff8029104 (patch)
treec58b176f10259f06e2c5c655fa4f535278f6ac21 /src
parentb84bd3cd1caf1c4b1fb534433e8a83bc789bf424 (diff)
downloadopenttd-e994f3195ae5d4f3dde0d4b32b86cf4ff8029104.tar.xz
(svn r11100) -Fix r11099: darn typos...
Diffstat (limited to 'src')
-rw-r--r--src/fileio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 2d1c01c71..b962a2443 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -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 */
-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 @@ FILE *FioFOpenFile(const char *filename, const char *mode, Subdirectory subdir,
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;
}