1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Fixed broken subdiv bounds

This commit is contained in:
Martin Tůma 2020-02-14 09:20:10 +01:00
parent d670107a11
commit 8c7050e273

View File

@ -132,8 +132,8 @@ bool TREFile::load(int idx)
for (int j = 0; j < _levels.at(idx).subdivs; j++) {
quint32 oo;
qint32 lon, lat;
quint16 width, height, nextLevel;
qint32 lon, lat, width, height;
quint16 nextLevel;
if (!(readUInt32(hdl, oo) && readInt24(hdl, lon) && readInt24(hdl, lat)
&& readUInt16(hdl, width) && readUInt16(hdl, height)))