mirror of
https://github.com/GerbilSoft/mst06.git
synced 2025-06-19 03:55:33 -04:00
Mst::saveMST(): m_version should have the full character, not just an int version.
TODO: Change it from `uint8_t` to `char`?
This commit is contained in:
parent
20067d3f8d
commit
c50ec4b87c
@ -575,7 +575,7 @@ int Mst::saveMST(FILE *fp) const
|
||||
// the rest of the string table is handled.
|
||||
MST_Header mst_header;
|
||||
memset(&mst_header, 0, sizeof(mst_header));
|
||||
mst_header.version = m_version;
|
||||
mst_header.version = m_version + '@';
|
||||
mst_header.endianness = (m_isBigEndian ? 'B' : 'L');
|
||||
mst_header.bina_magic = cpu_to_be32(BINA_MAGIC);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user