1
0
Fork 0

Minor changes

Fix a typo and a warning about an unused variable.
This commit is contained in:
Florent Rougon 2022-08-24 15:14:57 +02:00
parent e7594f4687
commit 563bc4775f
2 changed files with 2 additions and 2 deletions

View file

@ -1137,7 +1137,7 @@ FGMultiplayMgr::init (void)
if (rxPort <= 0)
rxPort = txPort;
} else {
SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - multiplayer mode disabled (no MP server specificed).");
SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - multiplayer mode disabled (no MP server specified).");
return;
}

View file

@ -124,7 +124,7 @@ void SplashScreen::createNodes()
std::string licenseUrlText = globals->get_locale()->getLocalizedString("license-url", "sys", LICENSE_URL_TEXT);
// add the splash image
std::string splashImageName = selectSplashImage();
const ImageItem* splashImage = addImage(splashImageName, true, 0, 0, 1, 1, nullptr, true);
addImage(splashImageName, true, 0, 0, 1, 1, nullptr, true);
// parse the content from the tree
// there can be many <content> <model-content> and <image> nodes