aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/detection.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-20 16:35:20 +0000
committerArnaud Boutonné2010-08-20 16:35:20 +0000
commite81eab613374655022a592a055e7afe106765147 (patch)
treed78b2dedd9834b7d039f58762e32cc4e9d85a0f6 /engines/hugo/detection.cpp
parent53bf93a8847c47f983a3ee25bffa8f6072ad82d4 (diff)
downloadscummvm-rg350-e81eab613374655022a592a055e7afe106765147.tar.gz
scummvm-rg350-e81eab613374655022a592a055e7afe106765147.tar.bz2
scummvm-rg350-e81eab613374655022a592a055e7afe106765147.zip
Hugo : Style - Add parenthesis around condition when conditional operator is used, as mentioned in Code Formatting Conventions
svn-id: r52230
Diffstat (limited to 'engines/hugo/detection.cpp')
-rw-r--r--engines/hugo/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/detection.cpp b/engines/hugo/detection.cpp
index cf10bbbe0f..51a4ad324f 100644
--- a/engines/hugo/detection.cpp
+++ b/engines/hugo/detection.cpp
@@ -199,7 +199,7 @@ void HugoEngine::initGame(const HugoGameDescription *gd) {
void HugoEngine::initGamePart(const HugoGameDescription *gd) {
char tmpStr[8];
- _gameVariant = _gameType - 1 + (_platform == Common::kPlatformWindows ? 0 : 3);
+ _gameVariant = _gameType - 1 + ((_platform == Common::kPlatformWindows) ? 0 : 3);
//Generate filenames
if (gd->desc.platform == Common::kPlatformWindows)