[Scummvm-cvs-logs] SF.net SVN: scummvm:[52202] scummvm/branches/gsoc2010-plugins/base

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Aug 19 10:46:20 CEST 2010


Revision: 52202
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52202&view=rev
Author:   fingolfin
Date:     2010-08-19 08:46:19 +0000 (Thu, 19 Aug 2010)

Log Message:
-----------
Fix warning & code formatting

Modified Paths:
--------------
    scummvm/branches/gsoc2010-plugins/base/plugins.cpp
    scummvm/branches/gsoc2010-plugins/base/plugins.h

Modified: scummvm/branches/gsoc2010-plugins/base/plugins.cpp
===================================================================
--- scummvm/branches/gsoc2010-plugins/base/plugins.cpp	2010-08-19 02:39:07 UTC (rev 52201)
+++ scummvm/branches/gsoc2010-plugins/base/plugins.cpp	2010-08-19 08:46:19 UTC (rev 52202)
@@ -342,7 +342,8 @@
 }
 
 bool PluginManager::loadNextPlugin() {
-	if (_nonEnginePlugs == _allPlugs.size()) return false; //There are no Engine Plugins in this case.
+	if (_nonEnginePlugs == _allPlugs.size())
+		return false; //There are no Engine Plugins in this case.
 	//To ensure only one engine plugin is loaded at a time, we unload all engine plugins before trying to load a new one.
 	unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL);
 	++_currentPlugin;

Modified: scummvm/branches/gsoc2010-plugins/base/plugins.h
===================================================================
--- scummvm/branches/gsoc2010-plugins/base/plugins.h	2010-08-19 02:39:07 UTC (rev 52201)
+++ scummvm/branches/gsoc2010-plugins/base/plugins.h	2010-08-19 08:46:19 UTC (rev 52202)
@@ -291,7 +291,7 @@
 
 	bool _skipStaticPlugs;
 
-	int _nonEnginePlugs;
+	uint _nonEnginePlugs;
 
 	bool tryLoadPlugin(Plugin *plugin);
 	


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