From d80537eb2f380597c8b26a632c1776a75322908f Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 3 Mar 2019 11:39:04 +0000 Subject: [PATCH] Ensure the splash logo is a file, not a dir Thanks to Richard Harrison for catching. --- src/Viewer/splash.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 13c53fc2f..a587dab3d 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -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; }