summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mods/ir.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mods/ir.zig b/src/mods/ir.zig
index e745cb8..91e0eaf 100644
--- a/src/mods/ir.zig
+++ b/src/mods/ir.zig
@@ -764,7 +764,7 @@ const IRParserState = struct {
var it = self.branches.iterator();
while (it.next()) |branch| {
- if (start < branch.key_ptr.* and branch.key_ptr.* < end) {
+ if (start <= branch.key_ptr.* and branch.key_ptr.* <= end) {
if (branch.value_ptr.* == 0) {
self.indices.items[branch.key_ptr.*].u32 = jump_addr;
try todel.append(self.allocator, branch.key_ptr.*);