summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Lüdecke <ritze@skweez.net>2019-01-24 19:18:24 +0100
committerGitHub <noreply@github.com>2019-01-24 19:18:24 +0100
commit73fb6de7b8996c11f942adfbf3643df9cc9e1c78 (patch)
tree88eee5d3f14d4fbe1fa6624616f76c41bcf8e743
parent0e8cec2f5585da578d4e28efc9870945662de3f5 (diff)
parent63cd546e514cc0ba58700cfb8e088afbca86a4da (diff)
Merge pull request #4 from maximbaz/typo-bottom
Fix typo in the config 'bottom'
-rw-r--r--README.md2
-rw-r--r--pinentry-dmenu.12
-rw-r--r--pinentry-dmenu.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index ee4e62b..12815ca 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ The config is located in `~/.gnupg/pinentry-dmenu.conf`.
Parameter | Default | Description
:------------------ |:----------------- |:-----------
asterisk | * | Defines the symbol which is showed for each typed character
-buttom | false | pinentry-dmenu appears at the bottom of the screen
+bottom | false | pinentry-dmenu appears at the bottom of the screen
min_password_length | 32 | The minimal space of the password field. This value has affect to the description field after the password field
monitor | -1 | pinentry-dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0
prompt | "" | Defines the prompt to be displayed to the left of the input field
diff --git a/pinentry-dmenu.1 b/pinentry-dmenu.1
index 29798d7..a6775ed 100644
--- a/pinentry-dmenu.1
+++ b/pinentry-dmenu.1
@@ -31,7 +31,7 @@ You can change the path to the config file with the environment variable
.BI "asterisk =" " *"
Defines the symbol which is showed for each typed character.
.TP
-.BI "buttom =" " false"
+.BI "bottom =" " false"
pinentry-dmenu appears at the bottom of the screen.
.TP
.BI "min_password_length =" " 32"
diff --git a/pinentry-dmenu.c b/pinentry-dmenu.c
index 27d097b..18abf74 100644
--- a/pinentry-dmenu.c
+++ b/pinentry-dmenu.c
@@ -738,7 +738,7 @@ main(int argc, char *argv[]) {
if (config_lookup_string(&cfg, "asterisk", &str)) {
asterisk = str;
}
- if (config_lookup_bool(&cfg, "buttom", &bval)) {
+ if (config_lookup_bool(&cfg, "bottom", &bval)) {
bottom = bval;
}
if (config_lookup_int(&cfg, "min_password_length", &val)) {