aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-11-01 11:06:37 +0000
committerFrederic Culot <calcurse@culot.org>2009-11-01 11:06:37 +0000
commit9ac8389823ef97c57d4d74179afb9805d435f051 (patch)
tree97f6c8a1584c44bebbe1122d90c7954662eaa8f0 /src/args.c
parent546ed4b224800436170d62b4f011f6028c80a64d (diff)
downloadcalcurse-9ac8389823ef97c57d4d74179afb9805d435f051.tar.gz
calcurse-9ac8389823ef97c57d4d74179afb9805d435f051.zip
Check for data directory availability added (thanks Brandon for reporting this bug).
Diffstat (limited to 'src/args.c')
-rwxr-xr-xsrc/args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/args.c b/src/args.c
index 818f583..e21e1e3 100755
--- a/src/args.c
+++ b/src/args.c
@@ -1,4 +1,4 @@
-/* $calcurse: args.c,v 1.59 2009/08/02 07:22:50 culot Exp $ */
+/* $calcurse: args.c,v 1.60 2009/11/01 11:06:37 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -901,6 +901,7 @@ parse_args (int argc, char **argv, conf_t *conf)
if (load_data)
{
io_init (cfile, datadir);
+ io_check_dir (path_dir, (int *)0);
}
if (iflag)
{