diff options
author | Matthew Stewart | 2018-07-23 22:21:56 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | aa68655742c94026c701dafc1ef6efb032774434 (patch) | |
tree | 594adfd9be24b2c087ab71d07f5f78ffedf9905e /engines/startrek/menu.cpp | |
parent | 0e85e19ee7530b4d41668982e0b10f04d6f29741 (diff) | |
download | scummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.tar.gz scummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.tar.bz2 scummvm-rg350-aa68655742c94026c701dafc1ef6efb032774434.zip |
STARTREK: Formatting corrections
Diffstat (limited to 'engines/startrek/menu.cpp')
-rw-r--r-- | engines/startrek/menu.cpp | 8 |
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; } } |