From 8a0354e6da920637bdc19063d87240dfa04e2b31 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Tue, 9 Jul 2019 08:42:03 +0200 Subject: Fix edit of empty exception day list Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/ui-day.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui-day.c b/src/ui-day.c index 30e7540..49c47ae 100644 --- a/src/ui-day.c +++ b/src/ui-day.c @@ -278,7 +278,7 @@ static int update_exc(llist_t *exc) int updated = 0; if (!exc->head) - return updated; + return !updated; char *days; enum getstr ret; -- cgit v1.2.3-70-g09d2