diff options
author | sirlemonhead | 2015-05-18 18:20:54 +0100 |
---|---|---|
committer | sirlemonhead | 2015-05-18 18:23:47 +0100 |
commit | da9333a924d945c3bd59eb1f8d3dd17d86b5d572 (patch) | |
tree | 74f9eb1a0a3817113773f121f223bb548d4a056b /engines/sherlock/inventory.cpp | |
parent | 5e351b6bf3988b33a6af952331039083c3b2aff8 (diff) | |
download | scummvm-rg350-da9333a924d945c3bd59eb1f8d3dd17d86b5d572.tar.gz scummvm-rg350-da9333a924d945c3bd59eb1f8d3dd17d86b5d572.tar.bz2 scummvm-rg350-da9333a924d945c3bd59eb1f8d3dd17d86b5d572.zip |
SHERLOCK: Fix code formatting issues and comment spelling mistakes
Diffstat (limited to 'engines/sherlock/inventory.cpp')
-rw-r--r-- | engines/sherlock/inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |