Hi Andrzej

-               // There are 2 slots for the header itself.
+               // There are 2 slots for the header itself. (slots or blocks? 
code adds blocks)
                int blocksRequired = 2 + headerSlotsRequired * 512 / blockSize;

It should be slots, the code is wrong.  Also it should be 1 and not 2.

The mistake is harmless apart from the file being a little bigger than necessary.

..Steve

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to