summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-11-23 18:20:37 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-11-23 18:20:37 +0100
commit5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49 (patch)
tree9ff8613c9f16b82cf2647776699c2cdb889dec1b /src
parentChanged static_cast to FloorC (diff)
downloadcuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar.gz
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar.bz2
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar.lz
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar.xz
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.tar.zst
cuberite-5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49.zip
Diffstat (limited to 'src')
-rw-r--r--src/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index f9727b978..5c050c215 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -597,7 +597,7 @@ void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback &
for (AStringPairs::const_iterator itr = Callback.m_Commands.begin(), end = Callback.m_Commands.end(); itr != end; ++itr)
{
const AStringPair & cmd = *itr;
- a_Output.Out(Printf("%-*s%s\n", static_cast<int>(Callback.m_MaxLen), cmd.first.c_str(), (" - " + cmd.second).c_str()));
+ a_Output.Out(Printf("%-*s - %s\n", static_cast<int>(Callback.m_MaxLen), cmd.first.c_str(), cmd.second.c_str()));
} // for itr - Callback.m_Commands[]
}