mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed broken subdiv bounds
This commit is contained in:
parent
d670107a11
commit
8c7050e273
@ -132,8 +132,8 @@ bool TREFile::load(int idx)
|
|||||||
|
|
||||||
for (int j = 0; j < _levels.at(idx).subdivs; j++) {
|
for (int j = 0; j < _levels.at(idx).subdivs; j++) {
|
||||||
quint32 oo;
|
quint32 oo;
|
||||||
qint32 lon, lat;
|
qint32 lon, lat, width, height;
|
||||||
quint16 width, height, nextLevel;
|
quint16 nextLevel;
|
||||||
|
|
||||||
if (!(readUInt32(hdl, oo) && readInt24(hdl, lon) && readInt24(hdl, lat)
|
if (!(readUInt32(hdl, oo) && readInt24(hdl, lon) && readInt24(hdl, lat)
|
||||||
&& readUInt16(hdl, width) && readUInt16(hdl, height)))
|
&& readUInt16(hdl, width) && readUInt16(hdl, height)))
|
||||||
|
Loading…
Reference in New Issue
Block a user