From da9333a924d945c3bd59eb1f8d3dd17d86b5d572 Mon Sep 17 00:00:00 2001 From: sirlemonhead Date: Mon, 18 May 2015 18:20:54 +0100 Subject: SHERLOCK: Fix code formatting issues and comment spelling mistakes --- engines/sherlock/inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/inventory.cpp') diff --git a/engines/sherlock/inventory.cpp b/engines/sherlock/inventory.cpp index 8da83aa5da..5b548bb9e3 100644 --- a/engines/sherlock/inventory.cpp +++ b/engines/sherlock/inventory.cpp @@ -128,7 +128,7 @@ void Inventory::loadGraphics() { /** * Searches through the list of names that correspond to the inventory items - * and returns the numer that matches the passed name + * and returns the number that matches the passed name */ int Inventory::findInv(const Common::String &name) { for (int idx = 0; idx < (int)_names.size(); ++idx) { @@ -150,7 +150,7 @@ void Inventory::putInv(int slamIt) { UserInterface &ui = *_vm->_ui; // If an inventory item has disappeared (due to using it or giving it), - // a blank space slot may haave appeared. If so, adjust the inventory + // a blank space slot may have appeared. If so, adjust the inventory if (_invIndex > 0 && _invIndex > (_holdings - 6)) { --_invIndex; freeGraphics(); -- cgit v1.2.3