summaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-07 09:20:38 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-07 09:20:38 +0000
commit639058740a44c6380258e0152f9916af1e53bb27 (patch)
tree4a011f1eef9f925740c9d0e701258e580ce65b9f /src/args.c
parentcf5617e3378fc4c6089195c83fac0f8a7acb84fe (diff)
downloadcalcurse-639058740a44c6380258e0152f9916af1e53bb27.tar.gz
calcurse-639058740a44c6380258e0152f9916af1e53bb27.zip
Checks added while loading key bindings configuration.
Diffstat (limited to 'src/args.c')
-rwxr-xr-xsrc/args.c9
1 files changed, 4 insertions, 5 deletions
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);
}