diff options
author | Max Horn | 2010-08-19 08:46:19 +0000 |
---|---|---|
committer | Max Horn | 2010-08-19 08:46:19 +0000 |
commit | f27b984fecf30d647b61b4e867945ecd1e056027 (patch) | |
tree | 8fb45eaeb1c33aabe2159a71226a3291f4356471 | |
parent | 8f7de9974f859ffa4841be015340af667e604168 (diff) | |
download | scummvm-rg350-f27b984fecf30d647b61b4e867945ecd1e056027.tar.gz scummvm-rg350-f27b984fecf30d647b61b4e867945ecd1e056027.tar.bz2 scummvm-rg350-f27b984fecf30d647b61b4e867945ecd1e056027.zip |
Fix warning & code formatting
svn-id: r52202
-rw-r--r-- | base/plugins.cpp | 3 | ||||
-rw-r--r-- | base/plugins.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index fc5f1f4046..c0ff6f6dfa 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -342,7 +342,8 @@ void PluginManager::loadFirstPlugin() { //TODO: rename? It's not quite clear tha } 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; diff --git a/base/plugins.h b/base/plugins.h index 717e18a4a7..84b1af5599 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -291,7 +291,7 @@ private: bool _skipStaticPlugs; - int _nonEnginePlugs; + uint _nonEnginePlugs; bool tryLoadPlugin(Plugin *plugin); |