summaryrefslogtreecommitdiffstats
path: root/source/StringUtils.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-04 13:46:06 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-04 13:46:06 +0200
commitfbacc1e1c4e2dd785512c1a9df4f96f3f79286b0 (patch)
tree8b0428a70f69d0433fbdb343fd59d668ad3535f5 /source/StringUtils.cpp
parentFixed crops producing pickups for creative mode players. (diff)
downloadcuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar.gz
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar.bz2
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar.lz
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar.xz
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.tar.zst
cuberite-fbacc1e1c4e2dd785512c1a9df4f96f3f79286b0.zip
Diffstat (limited to 'source/StringUtils.cpp')
-rw-r--r--source/StringUtils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/StringUtils.cpp b/source/StringUtils.cpp
index e98830f00..f3450f620 100644
--- a/source/StringUtils.cpp
+++ b/source/StringUtils.cpp
@@ -538,6 +538,7 @@ AString & CreateHexDump(AString & a_Out, const void * a_Data, int a_Size, int a_
unsigned char c = ((unsigned char *)a_Data)[i + j];
p[0] = HEX(c >> 4);
p[1] = HEX(c & 0xf);
+ p[2] = ' ';
if (c >= ' ')
{
q[0] = (char)c;