aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2016-02-14 01:32:02 +0100
committerFRIGN <dev@frign.de>2016-02-14 01:33:18 +0100
commitbdcbeab0d8ac0963c61ae1d9d1ed57d3effb8ec3 (patch)
tree535dbf06df16cf197b1ec2a27df4bf60ee7e4f50 /config.def.h
parent3abbffa4934a62146e995ee7c2cf3ba50991b4ad (diff)
downloadslock-bdcbeab0d8ac0963c61ae1d9d1ed57d3effb8ec3.tar.gz
slock-bdcbeab0d8ac0963c61ae1d9d1ed57d3effb8ec3.tar.xz
Clarify config.def.h
Clear up the wording a bit and explain what failonclear means.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index fca0ae0..eae2d9a 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,6 +1,8 @@
static const char *colorname[NUMCOLS] = {
"black", /* after initialization */
"#005577", /* during input */
- "#CC3333", /* failed/cleared the input */
+ "#CC3333", /* wrong password */
};
-static const Bool failonclear = True;
+
+/* treat a cleared input like a wrong password */
+static const int failonclear = 1;