From e4d58c39e0b9e952e31661fc2a9d6e043928b729 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 11 Sep 2020 13:15:31 +0200 Subject: remove braces --- dwl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dwl.c b/dwl.c index 0d92d35..cb2c241 100644 --- a/dwl.c +++ b/dwl.c @@ -819,9 +819,8 @@ createmon(struct wl_listener *listener, void *data) wlr_output_layout_add_auto(output_layout, wlr_output); sgeom = *wlr_output_layout_get_box(output_layout, NULL); - for (size_t i = 0; i < nlayers; ++i) { + for (size_t i = 0; i < nlayers; ++i) wl_list_init(&m->layers[i]); - } /* Get effective monitor geometry to use for window area */ wl_list_for_each(m, &mons, link) { -- cgit v1.2.3