aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-07-09 08:42:03 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-07-10 07:38:50 -0400
commit8a0354e6da920637bdc19063d87240dfa04e2b31 (patch)
treeef24031c80b2a3f19030cc4a54b9f88afd76ef23 /src
parent65e2a71b76d9e6491ec984f3da4fb78cc61731fc (diff)
downloadcalcurse-8a0354e6da920637bdc19063d87240dfa04e2b31.tar.gz
calcurse-8a0354e6da920637bdc19063d87240dfa04e2b31.zip
Fix edit of empty exception day list
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src')
-rw-r--r--src/ui-day.c2
1 files changed, 1 insertions, 1 deletions
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;