From 9ad048f8a6c6380fe8ca6534afcae30d3b1ada37 Mon Sep 17 00:00:00 2001 From: Eric Fry Date: Wed, 27 Jun 2018 22:22:07 +1000 Subject: ILLUSIONS: Fix formatting Remove debug code from bbdou menu item select callback --- engines/illusions/menusystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/illusions/menusystem.cpp') diff --git a/engines/illusions/menusystem.cpp b/engines/illusions/menusystem.cpp index 816b17d14e..b33da1333b 100644 --- a/engines/illusions/menusystem.cpp +++ b/engines/illusions/menusystem.cpp @@ -257,7 +257,7 @@ void BaseMenuSystem::placeActorHoverBackground() { WidthHeight textInfoDimensions; _vm->_screenText->getTextInfoDimensions(textInfoDimensions); - if ( _activeMenu->_backgroundColor && _activeMenu->_borderColor != _activeMenu->_backgroundColor) + if (_activeMenu->_backgroundColor && _activeMenu->_borderColor != _activeMenu->_backgroundColor) textInfoDimensions._width -= 6; WidthHeight frameDimensions; @@ -567,7 +567,7 @@ bool BaseMenuSystem::calcMenuItemTextPositionAtPoint(Common::Point pt, int &offs FontResource *font = _vm->_dict->findFont(_activeMenu->_fontId); uint curX = 0; - for (int i=0; i < text.size(); i++) { + for (int i = 0; i < text.size(); i++) { int16 w = font->getCharInfo(text[i])->_width; if (x >= curX && x <= curX + w) { offset = i; -- cgit v1.2.3