mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Cosmetics
This commit is contained in:
parent
09a6d8655e
commit
d5a472ddc0
@ -180,9 +180,9 @@ static bool readShape(const NODFile *nod, SubFile::Handle &nodHdl,
|
|||||||
return false;
|
return false;
|
||||||
flags |= (v2 << 8);
|
flags |= (v2 << 8);
|
||||||
|
|
||||||
bool hasCoordinatesAdjustBit = flags & (1 << (v2b + 7));
|
bool hasAdjustBit = flags & (1 << (v2b + 7));
|
||||||
bool useEosBit = flags & (1 << (v2b + 5));
|
|
||||||
bool startWithStream = flags & (1 << (v2b + 6));
|
bool startWithStream = flags & (1 << (v2b + 6));
|
||||||
|
bool useEosBit = flags & (1 << (v2b + 5));
|
||||||
|
|
||||||
quint32 extraBits;
|
quint32 extraBits;
|
||||||
int lonSign, latSign;
|
int lonSign, latSign;
|
||||||
@ -257,7 +257,7 @@ static bool readShape(const NODFile *nod, SubFile::Handle &nodHdl,
|
|||||||
if (!stream.readNext(lonDelta, latDelta))
|
if (!stream.readNext(lonDelta, latDelta))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (hasCoordinatesAdjustBit && !stream.read(1, adjustBit))
|
if (hasAdjustBit && !stream.read(1, adjustBit))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
stepsCnt++;
|
stepsCnt++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user