diff options
author | Arnaud Boutonné | 2010-08-20 16:35:20 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-08-20 16:35:20 +0000 |
commit | e81eab613374655022a592a055e7afe106765147 (patch) | |
tree | d78b2dedd9834b7d039f58762e32cc4e9d85a0f6 /engines/hugo/detection.cpp | |
parent | 53bf93a8847c47f983a3ee25bffa8f6072ad82d4 (diff) | |
download | scummvm-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.cpp | 2 |
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) |