summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 15:52:33 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 15:52:33 +0200
commitf7f49da17ca1352bd86b903d7bac448c3c5174e3 (patch)
tree95c67a77be82272010ae4a584da61be86ac425b4 /src/calcurse.c
parentbd784775aaa3c64c18c544b7aa6b6fffc6c01e8d (diff)
downloadcalcurse-f7f49da17ca1352bd86b903d7bac448c3c5174e3.zip
Initialize linked list for recurrent items
When switching to the generic linked list implementation for recurring events in 9fab248 (Use generic lists for recurring apointments and events., 2011-04-16), no initialization routine for the list of recurring events was added. Fix this and properly initialize the list on startup. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index b128dbd..389334d 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -518,6 +518,7 @@ int main(int argc, char **argv)
/* Initialize non-thread-safe data structures. */
event_llist_init();
+ recur_event_llist_init();
todo_init_list();
/*