Ensure the splash logo is a file, not a dir
Thanks to Richard Harrison for catching.
This commit is contained in:
parent
a95daa2a5a
commit
d80537eb2f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue