mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +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++) {
|
||||
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)))
|
||||
|
Loading…
Reference in New Issue
Block a user