[Scummvm-cvs-logs] SF.net SVN: scummvm: [26671] scummvm/trunk/gui/theme.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Apr 29 02:18:54 CEST 2007
Revision: 26671
http://scummvm.svn.sourceforge.net/scummvm/?rev=26671&view=rev
Author: lordhoto
Date: 2007-04-28 17:18:54 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
Little improvement for theme config validity check.
Modified Paths:
--------------
scummvm/trunk/gui/theme.cpp
Modified: scummvm/trunk/gui/theme.cpp
===================================================================
--- scummvm/trunk/gui/theme.cpp 2007-04-29 00:15:32 UTC (rev 26670)
+++ scummvm/trunk/gui/theme.cpp 2007-04-29 00:18:54 UTC (rev 26671)
@@ -243,7 +243,8 @@
}
Common::String temp;
- cfg->getKey("type", "theme", temp);
+ if (!cfg->getKey("type", "theme", temp))
+ return false;
if (cStyle)
*cStyle = temp;
if (0 != temp.compareToIgnoreCase(style) && !style.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