add maybe_rootzip to other root obj hover
This commit is contained in:
parent
5355feae19
commit
925abe8eca
1 changed files with 3 additions and 2 deletions
|
@ -1111,7 +1111,8 @@ struct Sec_Hover_Fn {
|
|||
range("???", section.range.start - cur_field_off);
|
||||
});
|
||||
}
|
||||
range("Payload", section.range.len - section.post_size);
|
||||
b8 zipped = maybe_rootzip();
|
||||
range("Payload", section.range.len - section.post_size - ROOTZIP_RANGE_LEN * zipped);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1129,7 +1130,7 @@ struct Sec_Hover_Fn {
|
|||
}
|
||||
};
|
||||
|
||||
// `off` is the absolute offset into `data`.
|
||||
// `off` is the offset into `data`.
|
||||
internal
|
||||
Sec_Hover_Info get_section_hover_info(Arena *arena, Section section, u64 off, const u8 *data, b8 display_grouped, b8 old_version)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue