Pad all single-digit hexadecimal values with zero (#504)

* Pad all single-digit hexadecimal values with zero

* One more fix
This commit is contained in:
Christian Semmler
2024-01-29 16:17:17 -05:00
committed by GitHub
parent 35def3013a
commit bcdddd4c7e
147 changed files with 311 additions and 311 deletions

View File

@@ -62,7 +62,7 @@ MxLong MxDSFile::ReadChunks()
return -1;
}
m_io.Read(&m_header, 0xc);
m_io.Read(&m_header, 0x0c);
if ((m_header.m_majorVersion == SI_MAJOR_VERSION) && (m_header.m_minorVersion == SI_MINOR_VERSION)) {
childChunk.ckid = FOURCC('M', 'x', 'O', 'f');
if (m_io.Descend(&childChunk, &topChunk, 0) != 0) {