SHERLOCK: Fix comment typo and remove unnecessary semicolon

This commit is contained in:
Torbjörn Andersson 2015-06-29 07:25:24 +02:00
parent c052865dcc
commit 1266fd95c5
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ void Fonts::setFont(int fontNum) {
_charCount = _font->size();
// Iterate through the frames to find the widest aand tallest font characters
// Iterate through the frames to find the widest and tallest font characters
_fontHeight = _widestChar = 0;
for (uint idx = 0; idx < _charCount; ++idx) {
_fontHeight = MAX((uint16)_fontHeight, (*_font)[idx]._frame.h);

View File

@ -181,7 +181,7 @@ void TattooUserInterface::printObjectDesc(const Common::String &str, bool firstT
events._oldButtons = 0;
}
} else {
events._pressed = events._released = events._rightReleased = false;;
events._pressed = events._released = events._rightReleased = false;
// Show text dialog
_textWidget.load(str);