fix: pass allocator as first parameter in forms.zig

This commit is contained in:
Adrià Arrufat
2026-03-23 15:27:49 +09:00
parent a6e801be59
commit c3a2318eca
3 changed files with 23 additions and 12 deletions

View File

@@ -167,8 +167,8 @@ fn detectForms(cmd: anytype) !void {
const page = bc.session.currentPage() orelse return error.PageNotLoaded;
const forms_data = try lp.forms.collectForms(
page.document.asNode(),
cmd.arena,
page.document.asNode(),
page,
);