aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-13 22:08:41 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-13 22:08:48 +0100
commit0e93eefb8f0b6168666821c3951810b5298cefe2 (patch)
treec40dc0a44c63a988acdd70329a40e092e06693cc /src
parent083c8c734e8af037d8ad3a1a35475a5d4756572c (diff)
downloadminetest-0e93eefb8f0b6168666821c3951810b5298cefe2.tar.gz
minetest-0e93eefb8f0b6168666821c3951810b5298cefe2.tar.bz2
minetest-0e93eefb8f0b6168666821c3951810b5298cefe2.zip
client.cpp: typo fix and break; fix to make some compilers happy
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index dce89eb1c..7d2fab179 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -951,7 +951,7 @@ void Client::interact(u8 action, const PointedThing& pointed)
{
if(m_state != LC_Ready) {
errorstream << "Client::interact() "
- "cancelled (not connected)"
+ "Canceled (not connected)"
<< std::endl;
return;
}
@@ -1296,6 +1296,7 @@ Inventory* Client::getInventory(const InventoryLocation &loc)
break;
default:
FATAL_ERROR("Invalid inventory location type.");
+ break;
}
return NULL;
}