diff options
author | Frederic Culot <calcurse@culot.org> | 2008-12-07 09:20:38 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-12-07 09:20:38 +0000 |
commit | 639058740a44c6380258e0152f9916af1e53bb27 (patch) | |
tree | 4a011f1eef9f925740c9d0e701258e580ce65b9f /src/args.c | |
parent | cf5617e3378fc4c6089195c83fac0f8a7acb84fe (diff) | |
download | calcurse-639058740a44c6380258e0152f9916af1e53bb27.tar.gz calcurse-639058740a44c6380258e0152f9916af1e53bb27.zip |
Checks added while loading key bindings configuration.
Diffstat (limited to 'src/args.c')
-rwxr-xr-x | src/args.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: args.c,v 1.40 2008/09/21 08:06:43 culot Exp $ */ +/* $calcurse: args.c,v 1.41 2008/12/07 09:20:38 culot Exp $ */ /* * Calcurse - text-based organizer @@ -765,9 +765,8 @@ parse_args (int argc, char **argv, conf_t *conf) vars_init (conf); custom_load_conf (conf, 0); io_load_todo (); - io_import_data (IO_MODE_NONINTERACTIVE, IO_IMPORT_ICAL, conf, - ifile); - io_save_cal (IO_MODE_NONINTERACTIVE, conf); + io_import_data (IO_IMPORT_ICAL, conf, ifile); + io_save_cal (conf); non_interactive = 1; } if (xflag) @@ -775,7 +774,7 @@ parse_args (int argc, char **argv, conf_t *conf) notify_init_vars (); custom_load_conf (conf, 0); io_load_todo (); - io_export_data (IO_MODE_NONINTERACTIVE, xfmt, conf); + io_export_data (xfmt, conf); non_interactive = 1; return (non_interactive); } |