[bugs] [PATCH] Fix edit of empty exception day list

Signed-off-by: Lars Henriksen <LarsHenriksen@xxxxxxxxxx>
Signed-off-by: Lukas Fleischer <lfleischer@xxxxxxxxxxxx>
This is caused by a bug that shows up when the list of exception dates is empty.
If you delete one of the repetitions, the list is no longer empty and you can
edit the repetition.

Alternatively, apply the patch.

 src/ui-day.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;