From: Markus Teich Date: Tue, 22 Nov 2016 23:28:43 +0000 (+0100) Subject: syntax fix X-Git-Url: https://git.armaanb.net/?p=slock.git;a=commitdiff_plain;h=325581b935c74c321062d1f6873704411bcc5071 syntax fix --- diff --git a/slock.c b/slock.c index 700acfb..d55eb3d 100644 --- a/slock.c +++ b/slock.c @@ -212,8 +212,10 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, break; } } - } else for (screen = 0; screen < nscreens; screen++) - XRaiseWindow(dpy, locks[screen]->win); + } else { + for (screen = 0; screen < nscreens; screen++) + XRaiseWindow(dpy, locks[screen]->win); + } } }