logo separator

[mkgmap-dev] Commit r4887: Fix assertions to actually check the calculated sizes.

From svn commit svn at mkgmap.org.uk on Tue Feb 1 07:00:55 GMT 2022

Version mkgmap-r4887 was committed by gerd on Tue, 01 Feb 2022

Fix assertions to actually check the calculated sizes.
The code to read TRE7 data (extended types offsets) only works for maps where tre7.recsize() <= 13. Maps can have larger record sizes and the current logic in TreFileReader.readExtTypeOffsetsRecords() fails with them.
No problem for mkgmaps own maps but RgnDisplay may show nonsense with those maps



http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4887


More information about the mkgmap-dev mailing list