Core/Misc: Fix a format error in ByteArrayToHexStr

Was appending an extra space.
Closes #7959
This commit is contained in:
Subv committed 2012-10-04 19:13:39 -05:00
1 parent b32878f02f
commit 74707a08d3
1 file changed
+1 -1
+1 -1
View File
@@ -488,7 +488,7 @@ std::string ByteArrayToHexStr(uint8 const* bytes, uint32 arrayLen, bool reverse
for (int32 i = init; i != end; i += op)
{
char buffer[4];
sprintf(buffer, "%02X ", bytes[i]);
sprintf(buffer, "%02X", bytes[i]);
ss << buffer;
}