From 639058740a44c6380258e0152f9916af1e53bb27 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 7 Dec 2008 09:20:38 +0000 Subject: Checks added while loading key bindings configuration. --- src/args.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/args.c') diff --git a/src/args.c b/src/args.c index 4f676d1..812c572 100755 --- a/src/args.c +++ b/src/args.c @@ -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); } -- cgit v1.2.3-54-g00ecf