From 977d37396fb3859d16ef26eca3a0842cb4c9fc99 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 5 May 2021 16:49:21 +0200 Subject: box-drawing: fix typo: missing ‘.’ in struct member initialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- box-drawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/box-drawing.c b/box-drawing.c index 9fd68a12..603bcb04 100644 --- a/box-drawing.c +++ b/box-drawing.c @@ -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); } -- cgit v1.3