fix: typo in region_macro (#87)

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #87
This commit is contained in:
Glen Whitney 2023-04-30 00:19:57 +00:00
parent 7f005f171e
commit da48b4c4f8
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ static Token region_macro(RegFuncInit init, RegFuncUpdt updt, RegFuncFinl finl,
// Evaluate over all cells in block defined by locations l1 and l2
int x1 = l1[X], x2 = l2[X]; posorder(&x1, &x2);
int y1 = l1[Y], y2 = l2[Y]; posorder(&y1, &y2);
int z1 = l1[Y], z2 = l2[Z]; posorder(&z1, &z2);
int z1 = l1[Z], z2 = l2[Z]; posorder(&z1, &z2);
Location l; l[X] = x1; l[Y] = y1; l[Z] = z1;
Token t;
if (argc == 3) {