box-drawing: fix typo: missing ‘.’ in struct member initialization

This commit is contained in:
Daniel Eklöf 2021-05-05 16:49:21 +02:00
parent 6937b1add8
commit 977d37396f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -101,7 +101,7 @@ _rect(struct buf *buf, int x1, int y1, int x2, int y2)
x2 = min(max(x2, 0), buf->width);
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);
}