diff options
author | Torbjörn Andersson | 2015-06-29 07:25:24 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-06-29 07:25:24 +0200 |
commit | 1266fd95c536fdd81e60476e510a378e4899859d (patch) | |
tree | c6383fa7d2ee55b2b3d1166d6174908815bcf5fa /engines | |
parent | c052865dcc6c407f8cfb48081e129e458dfde774 (diff) | |
download | scummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.tar.gz scummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.tar.bz2 scummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.zip |
SHERLOCK: Fix comment typo and remove unnecessary semicolon
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/fonts.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/fonts.cpp b/engines/sherlock/fonts.cpp index 50d05def3b..440e31915c 100644 --- a/engines/sherlock/fonts.cpp +++ b/engines/sherlock/fonts.cpp @@ -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); diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 9f9b6f1d82..2ebf238184 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -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); |