diff options
author | Strangerke | 2018-08-10 07:47:44 +0200 |
---|---|---|
committer | Strangerke | 2018-08-10 07:47:44 +0200 |
commit | 3fc6680f4f924623e8bf98981bae991fe5b7ebdd (patch) | |
tree | f107ac261fb82b3b61d13519337f5207c40a88a0 /engines/startrek/textbox.cpp | |
parent | 0355ebdacfd9ff207fb7998c76dd0a98eb5bc2bb (diff) | |
download | scummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.tar.gz scummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.tar.bz2 scummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.zip |
STARTREK: Silence a CppCheck warning
Diffstat (limited to 'engines/startrek/textbox.cpp')
-rw-r--r-- | engines/startrek/textbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/textbox.cpp b/engines/startrek/textbox.cpp index 0e38ec7cfd..15be61f7fb 100644 --- a/engines/startrek/textbox.cpp +++ b/engines/startrek/textbox.cpp @@ -728,7 +728,7 @@ Common::String StarTrekEngine::showTextInputBox(int16 x, int16 y, const Common:: case TREKEVENT_TICK: _gfx->incPaletteFadeLevel(); _frameIndex++; - _textInputCursorChar = (_frameIndex & 2 ? 1 : 0); + _textInputCursorChar = ((_frameIndex & 2) ? 1 : 0); redrawTextInput(); break; |