aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c
index 6c7e70f..6338c7e 100644
--- a/src/event.c
+++ b/src/event.c
@@ -115,7 +115,7 @@ event_new (char *mesg, char *note, long day, int id)
unsigned
event_inday (struct event *i, long start)
{
- if (i->day <= start + DAYINSEC && i->day > start)
+ if (i->day < start + DAYINSEC && i->day >= start)
{
return (1);
}