aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:13:57 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:13:57 +0200
commit411b8078b9afa398e10cec1892b2eb4f7d8dff23 (patch)
tree10885c3029e985ed5e7f4daf38c0afbeaae87d45 /src
parent2a62351d259096f60c0a4fca78963bd12233786e (diff)
downloadcalcurse-411b8078b9afa398e10cec1892b2eb4f7d8dff23.tar.gz
calcurse-411b8078b9afa398e10cec1892b2eb4f7d8dff23.zip
day_item_add_exc(): Fix unwanted fall-through
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/day.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/day.c b/src/day.c
index 7d162b2..904c34a 100644
--- a/src/day.c
+++ b/src/day.c
@@ -174,8 +174,10 @@ void day_item_add_exc(struct day_item *day, long date)
switch (day->type) {
case RECUR_EVNT:
recur_event_add_exc(day->item.rev, date);
+ break;
case RECUR_APPT:
recur_apoint_add_exc(day->item.rapt, date);
+ break;
}
}