summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-10-10 01:38:25 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-10-10 01:38:25 +0200
commit8553a991611d354e2b1e9d60a261c5226aa0141a (patch)
treea3487f2f67af8cf9e5aa6ef7d140be9c2f8174cb /src/calcurse.c
parent61e2206dca574e1b4203afe30ad48c22155a1015 (diff)
downloadcalcurse-8553a991611d354e2b1e9d60a261c5226aa0141a.zip
Add io_load_data() wrapper
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 0d78000..364d0fa 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -332,8 +332,7 @@ static inline void key_generic_reload(void)
recur_event_llist_init();
todo_init_list();
- io_load_todo(NULL);
- io_load_app(NULL);
+ io_load_data(NULL);
io_unset_modified();
ui_todo_load_items();
ui_todo_sel_reset();
@@ -683,8 +682,7 @@ int main(int argc, char **argv)
config_load();
wins_erase_status_bar();
io_load_keys(conf.pager);
- io_load_todo(NULL);
- io_load_app(NULL);
+ io_load_data(NULL);
io_unset_modified();
wins_slctd_set(conf.default_panel);
wins_resize();