aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2018-08-10 07:47:44 +0200
committerStrangerke2018-08-10 07:47:44 +0200
commit3fc6680f4f924623e8bf98981bae991fe5b7ebdd (patch)
treef107ac261fb82b3b61d13519337f5207c40a88a0 /engines
parent0355ebdacfd9ff207fb7998c76dd0a98eb5bc2bb (diff)
downloadscummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.tar.gz
scummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.tar.bz2
scummvm-rg350-3fc6680f4f924623e8bf98981bae991fe5b7ebdd.zip
STARTREK: Silence a CppCheck warning
Diffstat (limited to 'engines')
-rw-r--r--engines/startrek/textbox.cpp2
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;