[Scummvm-git-logs] scummvm master -> 3fc6680f4f924623e8bf98981bae991fe5b7ebdd

Strangerke Strangerke at scummvm.org
Fri Aug 10 07:51:29 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3fc6680f4f STARTREK: Silence a CppCheck warning


Commit: 3fc6680f4f924623e8bf98981bae991fe5b7ebdd
    https://github.com/scummvm/scummvm/commit/3fc6680f4f924623e8bf98981bae991fe5b7ebdd
Author: Strangerke (strangerke at scummvm.org)
Date: 2018-08-10T07:47:44+02:00

Commit Message:
STARTREK: Silence a CppCheck warning

Changed paths:
    engines/startrek/textbox.cpp


diff --git a/engines/startrek/textbox.cpp b/engines/startrek/textbox.cpp
index 0e38ec7..15be61f 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;
 





More information about the Scummvm-git-logs mailing list