Fix edit of empty exception day list
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
65e2a71b76
commit
8a0354e6da
@ -278,7 +278,7 @@ static int update_exc(llist_t *exc)
|
|||||||
int updated = 0;
|
int updated = 0;
|
||||||
|
|
||||||
if (!exc->head)
|
if (!exc->head)
|
||||||
return updated;
|
return !updated;
|
||||||
char *days;
|
char *days;
|
||||||
enum getstr ret;
|
enum getstr ret;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user