aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/day.c')
-rw-r--r--src/day.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/day.c b/src/day.c
index 3e8adbf..dd93b53 100644
--- a/src/day.c
+++ b/src/day.c
@@ -294,7 +294,7 @@ static int day_store_apoints(long date)
p.apt = apt;
- if (apt->start >= date + DAYINSEC)
+ if (apt->start >= date + DAYLEN(date))
break;
day_add_item(APPT, apt->start, p);