[Scummvm-cvs-logs] SF.net SVN: scummvm:[42952] scummvm/trunk/base/main.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Jul 30 23:56:18 CEST 2009
Revision: 42952
http://scummvm.svn.sourceforge.net/scummvm/?rev=42952&view=rev
Author: fingolfin
Date: 2009-07-30 21:56:18 +0000 (Thu, 30 Jul 2009)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp 2009-07-30 21:56:04 UTC (rev 42951)
+++ scummvm/trunk/base/main.cpp 2009-07-30 21:56:18 UTC (rev 42952)
@@ -169,9 +169,9 @@
// 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()) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list