mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-26 07:57:59 -04:00
box-drawing: fix typo: missing ‘.’ in struct member initialization
This commit is contained in:
parent
6937b1add8
commit
977d37396f
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ _rect(struct buf *buf, int x1, int y1, int x2, int y2)
|
||||||
x2 = min(max(x2, 0), buf->width);
|
x2 = min(max(x2, 0), buf->width);
|
||||||
y2 = min(max(y2, 0), buf->height);
|
y2 = min(max(y2, 0), buf->height);
|
||||||
|
|
||||||
pixman_box32_t box = {.x1 = x1, y1 = y1, .x2 = x2, .y2 = y2};
|
pixman_box32_t box = {.x1 = x1, .y1 = y1, .x2 = x2, .y2 = y2};
|
||||||
pixman_image_fill_boxes(PIXMAN_OP_SRC, buf->pix, &white, 1, &box);
|
pixman_image_fill_boxes(PIXMAN_OP_SRC, buf->pix, &white, 1, &box);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue