summaryrefslogtreecommitdiffstats
path: root/src/ui-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui-day.c')
-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;