From 39fd5e7d02acebd801261b1a2f7c20a7d31a9fad Mon Sep 17 00:00:00 2001 From: Franck STAUFFER Date: Fri, 4 Sep 2020 10:03:05 +0200 Subject: [PATCH] Format code --- dwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dwm.c b/dwm.c index f15325f..d02d6fd 100644 --- a/dwm.c +++ b/dwm.c @@ -561,10 +561,10 @@ attachbottom(Client* c) c->next = NULL; Client* below = c->mon->clients; if (below) { - for(; below->next; below = below->next); + for (; below->next; below = below->next) + ; below->next = c; - } - else + } else c->mon->clients = c; }