[Scummvm-cvs-logs] SF.net SVN: scummvm: [22075] scummvm/trunk/common/config-manager.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Fri Apr 21 14:00:01 CEST 2006
Revision: 22075
Author: anotherguest
Date: 2006-04-21 13:59:05 -0700 (Fri, 21 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22075&view=rev
Log Message:
-----------
Return of void value is not valid for all platforms. Changed to call function and then plain return;
Modified Paths:
--------------
scummvm/trunk/common/config-manager.cpp
Modified: scummvm/trunk/common/config-manager.cpp
===================================================================
--- scummvm/trunk/common/config-manager.cpp 2006-04-21 20:56:53 UTC (rev 22074)
+++ scummvm/trunk/common/config-manager.cpp 2006-04-21 20:59:05 UTC (rev 22075)
@@ -468,8 +468,10 @@
// FIXME: For now we continue to allow empty domName to indicate
// "use 'default' domain". This is mainly needed for the SCUMM ConfigDialog
// and should be removed ASAP.
- if (domName.empty())
- return set(key, value);
+ if (domName.empty()) {
+ set(key, value);
+ return;
+ }
Domain *domain = getDomain(domName);
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