From 53db0a8a073784260f3160b5d3cfa38f2de254b3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 28 Oct 2003 17:07:25 +0000 Subject: cleanup: removed version/id from GameSettings svn-id: r10995 --- base/gameDetector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/gameDetector.cpp') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 7e8c9efa47..11ba903c74 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -179,7 +179,7 @@ GameDetector::GameDetector() { _dumpScripts = false; - _game.features = 0; + memset(&_game, 0, sizeof(_game)); _plugin = 0; } @@ -225,7 +225,7 @@ void listTargets() { GameSettings GameDetector::findGame(const String &gameName, const Plugin **plugin) { // Find the GameSettings for this target const PluginList &plugins = PluginManager::instance().getPlugins(); - GameSettings result = {NULL, NULL, 0, 0, MDT_NONE, 0, NULL}; + GameSettings result = {NULL, NULL, MDT_NONE, 0, NULL}; PluginList::ConstIterator iter = plugins.begin(); for (iter = plugins.begin(); iter != plugins.end(); ++iter) { @@ -290,7 +290,7 @@ void GameDetector::parseCommandLine(int argc, char **argv) { char shortCmdLower; bool isLongCmd, cmdValue; - // Iterate over all comman line arguments, backwards. + // Iterate over all command line arguments, backwards. for (i = argc - 1; i >= 1; i--) { s = argv[i]; -- cgit v1.2.3