summaryrefslogtreecommitdiffstats
path: root/src/custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/custom.c')
-rw-r--r--src/custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/custom.c b/src/custom.c
index b8bd89b..049f0ff 100644
--- a/src/custom.c
+++ b/src/custom.c
@@ -792,7 +792,7 @@ void custom_general_config(void)
case '0':
val = status_ask_simplechoice(input_datefmt_prefix,
input_datefmt_choices,
- DATE_FORMATS - 1);
+ DATE_FORMATS);
if (val != -1)
conf.input_datefmt = val;
break;