mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix UUID formatting - the last field only has 12 hex digits
It didn't cause misprinted UUIDs because the string buffers had the correct size.
This commit is contained in:
parent
5ae37e6c72
commit
9e7020368e
|
@ -39,7 +39,7 @@ void FormatUuid(CUuid Uuid, char *pBuffer, unsigned BufferLength)
|
|||
{
|
||||
unsigned char *p = Uuid.m_aData;
|
||||
str_format(pBuffer, BufferLength,
|
||||
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x%02x%02x",
|
||||
"%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
||||
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
|
||||
p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue