mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
cleanup
svn-id: r42952
This commit is contained in:
parent
91434bd9c5
commit
2fe2fc5101
@ -169,9 +169,9 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const
|
||||
// Set the window caption to the game name
|
||||
Common::String caption(ConfMan.get("description"));
|
||||
|
||||
Common::String desc = EngineMan.findGame(ConfMan.get("gameid")).description();
|
||||
if (caption.empty() && !desc.empty())
|
||||
caption = desc;
|
||||
if (caption.empty()) {
|
||||
caption = EngineMan.findGame(ConfMan.get("gameid")).description();
|
||||
}
|
||||
if (caption.empty())
|
||||
caption = ConfMan.getActiveDomainName(); // Use the domain (=target) name
|
||||
if (!caption.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user