fixes for typos in messages

This commit is contained in:
Ben Roeder
2018-09-11 12:51:21 +01:00
parent 1df22e8177
commit e4111c76b8
11 changed files with 13 additions and 13 deletions

View File

@@ -214,7 +214,7 @@ class resource_manager_t {
obj_map_t::iterator it = m_objs.find(item_name);
if(it == m_objs.end()) {
// create
throw logic_error("Not such object.");
throw logic_error("No such object.");
} else {
it->second.second -= 1;
if(it->second.second == 0) { // ref count == 0