From: Laslo Hunhold Date: Mon, 17 Oct 2016 18:28:09 +0000 (+0200) Subject: Unboolify slock.c X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=597469541c10fdb8920ed190b72763b0719e5cb5;p=slock.git Unboolify slock.c --- 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;