mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-10-23 21:43:28 +00:00
Preserve legacy annotation index value layout
This commit is contained in:
1 parent
f1de5f5e34
commit
ccf8992628
1 file changed
+1
-1
@@ -538,7 +538,7 @@ Status Reader::lookupAnnotations(uint8_t zoom, uint32_t x, uint32_t y)
|
||||
const auto* fast = section(44);
|
||||
const auto* index = fast ? fast : section(40);
|
||||
if (!index) return Status::Invalid;
|
||||
return find(*index, KeyKind::Number, nullptr, 0, key, workspace_.record.data(), fast ? 16 : 8);
|
||||
return find(*index, KeyKind::Number, nullptr, 0, key, workspace_.record.data(), fast ? 16 : 24);
|
||||
}
|
||||
Status Reader::annotationStep(AnnotationCursor& c, size_t budget, AnnotationVisitor visitor, void* context)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user