summaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2016-10-17 20:28:09 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-10-18 00:29:41 +0200
commit597469541c10fdb8920ed190b72763b0719e5cb5 (patch)
tree9613115d46679c55a25a62d718f5b249d3a3ff9a /slock.c
parentc96e725df0c449abb5f1f6a3b604f64fa69c4756 (diff)
Unboolify slock.c
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 4d7f06f..ad539dc 100644
--- 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;