diff --git a/src/map/IMG/rgnfile.cpp b/src/map/IMG/rgnfile.cpp index 629bec9e..274102e3 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -87,7 +87,7 @@ bool RGNFile::readClassFields(Handle &hdl, SegmentType segmentType, point->classLabel = true; Q_ASSERT(pos(hdl) - p <= rs + 4); - rs -= pos(hdl) - p; + seek(hdl, p); } return seek(hdl, pos(hdl) + rs);