From 6564c61b00e3fb7429fb58c6eda4b92a1bb41c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 6 Feb 2022 04:31:03 +0100 Subject: [PATCH] Yet another point class label parsing fix --- src/map/IMG/rgnfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);