summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-08-24 21:26:03 +0000
committerplanetmaker <planetmaker@openttd.org>2011-08-24 21:26:03 +0000
commit09c3cabc1e75257a64eef78b99238e05b038c969 (patch)
treef7857f34ca2c48332bf081024b6b882c62efc030 /src/os
parent605bec09854b0cd627495944863e098cba267b2c (diff)
downloadopenttd-09c3cabc1e75257a64eef78b99238e05b038c969.tar.xz
(svn r22833) -Fix (r18006): Compilation on OSX was broken
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/splash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 1fb98ebf5..4c283495b 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -51,7 +51,7 @@ static void PNGAPI png_my_warning(png_structp png_ptr, png_const_charp message)
*/
void DisplaySplashImage()
{
- FILE *f = FioFOpenFile(SPLASH_IMAGE_FILE);
+ FILE *f = FioFOpenFile(SPLASH_IMAGE_FILE, "r", BASE_DIR);
if (f == NULL) return;
png_byte header[8];