summaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-20 18:26:16 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-20 18:26:16 +0000
commit45bb65907d05e56eefb10dd227386946e5bf6b89 (patch)
treebbf48b4c67894d90d1d3e2f44c2b210ece4b00da /src/args.c
parentc2fc55f884680bab3bdacd654808be5f00dbb1e8 (diff)
downloadcalcurse-45bb65907d05e56eefb10dd227386946e5bf6b89.tar.gz
calcurse-45bb65907d05e56eefb10dd227386946e5bf6b89.zip
custom_load_conf() updated to use window_t type
Diffstat (limited to 'src/args.c')
-rwxr-xr-xsrc/args.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/args.c b/src/args.c
index eeb6840..f9251f7 100755
--- a/src/args.c
+++ b/src/args.c
@@ -1,4 +1,4 @@
-/* $calcurse: args.c,v 1.20 2007/07/01 17:55:39 culot Exp $ */
+/* $calcurse: args.c,v 1.21 2007/07/20 18:26:16 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -69,6 +69,7 @@ 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:";
@@ -167,7 +168,9 @@ parse_args(int argc, char **argv, conf_t *conf)
}
if (xflag) {
notify_init_vars();
- custom_load_conf(conf, 0, 0, 0);
+ win.h = 0;
+ win.w = 0;
+ custom_load_conf(conf, 0, &win);
io_export_data(IO_EXPORT_NONINTERACTIVE, conf);
non_interactive = 1;
return (non_interactive);