(svn r22833) -Fix (r18006): Compilation on OSX was broken

This commit is contained in:
planetmaker 2011-08-24 21:26:03 +00:00
parent 24063de586
commit c250139165

View File

@ -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];