From 411b8078b9afa398e10cec1892b2eb4f7d8dff23 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <calcurse@cryptocrack.de>
Date: Sun, 18 May 2014 11:13:57 +0200
Subject: day_item_add_exc(): Fix unwanted fall-through

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 src/day.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

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;
 	}
 }
 
-- 
cgit v1.2.3-70-g09d2