summaryrefslogtreecommitdiffstats
path: root/src/recur.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recur.c')
-rw-r--r--src/recur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recur.c b/src/recur.c
index 5fb30b9..d12dcc3 100644
--- a/src/recur.c
+++ b/src/recur.c
@@ -943,7 +943,7 @@ recur_repeat_item (void)
status_mesg (_(outstr), "");
if (getstring (win[STA].p, user_input, BUFSIZ, 0, 1) == GETSTRING_VALID)
{
- if (strlen (user_input) == 1 && strncmp (user_input, "0", 1) == 0)
+ if (strlen (user_input) == 1 && strcmp (user_input, "0") == 0)
{
until = 0;
date_entered = 1;