From aa68655742c94026c701dafc1ef6efb032774434 Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Mon, 23 Jul 2018 22:21:56 -0400 Subject: STARTREK: Formatting corrections --- engines/startrek/menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/startrek/menu.cpp') diff --git a/engines/startrek/menu.cpp b/engines/startrek/menu.cpp index e7d0b9abc1..e9cebca6a5 100644 --- a/engines/startrek/menu.cpp +++ b/engines/startrek/menu.cpp @@ -157,14 +157,14 @@ void StarTrekEngine::chooseMousePositionFromSprites(Sprite *sprites, int numSpri } void StarTrekEngine::drawMenuButtonOutline(SharedPtr bitmap, byte color) { - int lineWidth = bitmap->width-2; - int offsetToBottom = (bitmap->height-3)*bitmap->width; + int lineWidth = bitmap->width - 2; + int offsetToBottom = (bitmap->height - 3) * bitmap->width; byte *dest = bitmap->pixels + bitmap->width + 1; while (lineWidth--) { *dest = color; - *(dest+offsetToBottom) = color; + *(dest + offsetToBottom) = color; dest++; } @@ -175,7 +175,7 @@ void StarTrekEngine::drawMenuButtonOutline(SharedPtr bitmap, byte color) while (lineHeight--) { *dest = color; - *(dest+offsetToRight) = color; + *(dest + offsetToRight) = color; dest += bitmap->width; } } -- cgit v1.2.3