Unboolify slock.c
authorLaslo Hunhold <dev@frign.de>
Mon, 17 Oct 2016 18:28:09 +0000 (20:28 +0200)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Mon, 17 Oct 2016 22:29:41 +0000 (00:29 +0200)
slock.c

diff --git a/slock.c b/slock.c
index 4d7f06f..ad539dc 100644 (file)
--- a/slock.c
+++ b/slock.c
@@ -166,7 +166,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
                                        running = !!strcmp(inputhash, hash);
                                if (running) {
                                        XBell(dpy, 100);
-                                       failure = True;
+                                       failure = 1;
                                }
                                explicit_bzero(&passwd, sizeof(passwd));
                                len = 0;