From 1266fd95c536fdd81e60476e510a378e4899859d Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 29 Jun 2015 07:25:24 +0200 Subject: SHERLOCK: Fix comment typo and remove unnecessary semicolon --- engines/sherlock/fonts.cpp | 2 +- engines/sherlock/tattoo/tattoo_user_interface.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3