1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00

Cosmetics

This commit is contained in:
Martin Tůma 2021-01-15 06:44:31 +01:00
parent 925ddffba5
commit 7217f9acfc

View File

@ -139,12 +139,14 @@ int TREFile::readExtEntry(Handle &hdl, quint32 &polygons, quint32 &lines,
rb += 4;
} else
polygons = 0;
if (_flags & 2) {
if (!readUInt32(hdl, lines))
return -1;
rb += 4;
} else
lines = 0;
if (_flags & 4) {
if (!readUInt32(hdl, points))
return -1;