aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;