Skip to content

Commit

Permalink
fix nock 9 crashing pier if axis is cell
Browse files Browse the repository at this point in the history
  • Loading branch information
Quodss authored Jun 20, 2024
1 parent b3b7c14 commit 55eb485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/noun/nock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ _n_comp(u3_noun* ops, u3_noun fol, c3_o los_o, c3_o tel_o)

case 9:
u3x_cell(arg, &hed, &tel);
if ( (1 == hed) || (3 == u3qc_cap(hed)) ) {
if ( (1 == hed) || (3 == u3qc_cap(u3x_atom(hed))) ) {
u3_noun mac = u3nq(7, u3k(tel), 2, u3nt(u3nc(0, 1), 0, u3k(hed)));
tot_w += _n_comp(ops, mac, los_o, tel_o);
u3z(mac);
Expand Down

0 comments on commit 55eb485

Please sign in to comment.