From 325581b935c74c321062d1f6873704411bcc5071 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 23 Nov 2016 00:28:43 +0100 Subject: syntax fix --- slock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'slock.c') 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); + } } } -- cgit v1.2.3-70-g09d2