From 3fc6680f4f924623e8bf98981bae991fe5b7ebdd Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 10 Aug 2018 07:47:44 +0200 Subject: STARTREK: Silence a CppCheck warning --- engines/startrek/textbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3