Remove clang-format on/off comments

This commit is contained in:
Johan Malm 2020-10-31 15:33:46 +00:00
parent 543f00131c
commit 2f44e954aa
4 changed files with 4 additions and 10 deletions

View file

@ -29,15 +29,15 @@ draw_line(struct draw_data *d, int x1, int y1, int x2, int y2)
wlr_render_rect(d->renderer, &box, d->rgba, d->transform_matrix);
}
/* clang-format off */
static void draw_rect_unfilled(struct draw_data *d, struct wlr_box box)
{
draw_line(d, box.x, box.y, box.x + box.width - 1, box.y);
draw_line(d, box.x + box.width - 1, box.y, box.x + box.width - 1, box.y + box.height - 1);
draw_line(d, box.x, box.y + box.height - 1, box.x + box.width - 1, box.y + box.height - 1);
draw_line(d, box.x + box.width - 1, box.y, box.x + box.width - 1,
box.y + box.height - 1);
draw_line(d, box.x, box.y + box.height - 1, box.x + box.width - 1,
box.y + box.height - 1);
draw_line(d, box.x, box.y, box.x, box.y + box.height - 1);
}
/* clang-format on */
static void
shrink(struct wlr_box *box, int size)