aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/gameDetector.cpp8
-rw-r--r--common/timer.cpp2
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++) {