1
0
Fork 0

Ensure the splash logo is a file, not a dir

Thanks to Richard Harrison for catching.
This commit is contained in:
James Turner 2019-03-03 11:39:04 +00:00
parent a95daa2a5a
commit d80537eb2f

View file

@ -281,7 +281,7 @@ void SplashScreen::setupLogoImage()
{
// check for a logo image, add underneath other text
SGPath logoPath = globals->resolve_maybe_aircraft_path(fgGetString("/sim/startup/splash-logo-image"));
if (!logoPath.exists()) {
if (!logoPath.exists() || !logoPath.isFile()) {
return;
}