Core/Misc: Fix a format error in ByteArrayToHexStr
Was appending an extra space. Closes #7959
This commit is contained in:
1 parent
b32878f02f
commit
74707a08d3
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user