1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Yet another point class label parsing fix

This commit is contained in:
Martin Tůma 2022-02-06 04:31:03 +01:00
parent f1e9983a58
commit 6564c61b00

View File

@ -87,7 +87,7 @@ bool RGNFile::readClassFields(Handle &hdl, SegmentType segmentType,
point->classLabel = true; point->classLabel = true;
Q_ASSERT(pos(hdl) - p <= rs + 4); Q_ASSERT(pos(hdl) - p <= rs + 4);
rs -= pos(hdl) - p; seek(hdl, p);
} }
return seek(hdl, pos(hdl) + rs); return seek(hdl, pos(hdl) + rs);