mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r22833) -Fix (r18006): Compilation on OSX was broken
This commit is contained in:
parent
24063de586
commit
c250139165
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user