aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);