summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-21 19:34:42 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-21 19:34:42 +0000
commitf71183cd89813620435843b40a1f90abc379408e (patch)
tree8ca9ec5bfda61c056d9ab272d79a91531bae7845 /src
parent792b62c173e83892be45a886f289651bfa621c32 (diff)
downloadcalcurse-f71183cd89813620435843b40a1f90abc379408e.zip
call to custom_load_conf() updated
Diffstat (limited to 'src')
-rwxr-xr-xsrc/args.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/args.c b/src/args.c
index f9251f7..9692403 100755
--- a/src/args.c
+++ b/src/args.c
@@ -1,4 +1,4 @@
-/* $calcurse: args.c,v 1.21 2007/07/20 18:26:16 culot Exp $ */
+/* $calcurse: args.c,v 1.22 2007/07/21 19:34:42 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -69,7 +69,6 @@ parse_args(int argc, char **argv, conf_t *conf)
int non_interactive = 0, multiple_flag = 0, load_data = 0;
int no_file = 1;
char *ddate = "", *cfile = NULL;
- window_t win;
static char *optstr = "hvnaxt::d:c:";
@@ -168,9 +167,7 @@ parse_args(int argc, char **argv, conf_t *conf)
}
if (xflag) {
notify_init_vars();
- win.h = 0;
- win.w = 0;
- custom_load_conf(conf, 0, &win);
+ custom_load_conf(conf, 0);
io_export_data(IO_EXPORT_NONINTERACTIVE, conf);
non_interactive = 1;
return (non_interactive);