fixed missing bit i on dependencies

This commit is contained in:
Louis Heredero 2024-10-30 16:18:32 +01:00
parent 6f502f2e18
commit aa9a082ba5
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -373,7 +373,7 @@
// Draw rectangle around structure
shapes += draw-rect(border-col, bits-x, bits-y, bits-width, bit-h, thickness: 2)
let indices = range(struct.bits)
let indices = range(struct.start, struct.start + struct.bits)
if not config.all-bit-i {
indices = ()
for r in struct.ranges.values() {