aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-05 14:49:21 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-17 15:58:29 +0000
commit977d37396fb3859d16ef26eca3a0842cb4c9fc99 (patch)
tree03c3220d68db9e8e26775f6f2868e52832940db5
parentbox-drawing: shades can now be rendered either using solid color, or checker box (diff)
box-drawing: fix typo: missing ‘.’ in struct member initialization
-rw-r--r--box-drawing.c2
1 files changed, 1 insertions, 1 deletions
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);
}