diff options
author | Max Horn | 2003-06-19 15:14:17 +0000 |
---|---|---|
committer | Max Horn | 2003-06-19 15:14:17 +0000 |
commit | 8b567ddaf884de9e850ce6f21a286e8c2e00e4b6 (patch) | |
tree | 7185a7972f92968fc194be727f916378f417ee22 /common | |
parent | 9f55203302dc08c89465c07a0318597e08ee9001 (diff) | |
download | scummvm-rg350-8b567ddaf884de9e850ce6f21a286e8c2e00e4b6.tar.gz scummvm-rg350-8b567ddaf884de9e850ce6f21a286e8c2e00e4b6.tar.bz2 scummvm-rg350-8b567ddaf884de9e850ce6f21a286e8c2e00e4b6.zip |
cleanup
svn-id: r8557
Diffstat (limited to 'common')
-rw-r--r-- | common/gameDetector.cpp | 8 | ||||
-rw-r--r-- | common/timer.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index 8b41aa8b4b..3cd1a742cb 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -382,10 +382,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) { g_config->setBool("nosubtitles", _noSubtitles ? true : false); break; case 'o': - HANDLE_OPTION(); - _master_volume = atoi(option); - g_config->setInt("master_volume", _master_volume); - break; + HANDLE_OPTION(); + _master_volume = atoi(option); + g_config->setInt("master_volume", _master_volume); + break; case 'p': HANDLE_OPTION(); _gameDataPath = option; diff --git a/common/timer.cpp b/common/timer.cpp index 906f621c91..a0b90232a7 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -75,7 +75,7 @@ bool Timer::init() { return false; } - if (_initialized == true) + if (_initialized) return true; for (l = 0; l < MAX_TIMERS; l++) { |