aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-29 07:25:24 +0200
committerTorbjörn Andersson2015-06-29 07:25:24 +0200
commit1266fd95c536fdd81e60476e510a378e4899859d (patch)
treec6383fa7d2ee55b2b3d1166d6174908815bcf5fa
parentc052865dcc6c407f8cfb48081e129e458dfde774 (diff)
downloadscummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.tar.gz
scummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.tar.bz2
scummvm-rg350-1266fd95c536fdd81e60476e510a378e4899859d.zip
SHERLOCK: Fix comment typo and remove unnecessary semicolon
-rw-r--r--engines/sherlock/fonts.cpp2
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.cpp2
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);