aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/startrek/menu.cpp')
-rw-r--r--engines/startrek/menu.cpp8
1 files changed, 4 insertions, 4 deletions
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> 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> bitmap, byte color)
while (lineHeight--) {
*dest = color;
- *(dest+offsetToRight) = color;
+ *(dest + offsetToRight) = color;
dest += bitmap->width;
}
}