diff options
author | Frederic Culot <calcurse@culot.org> | 2009-11-01 11:06:37 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-11-01 11:06:37 +0000 |
commit | 9ac8389823ef97c57d4d74179afb9805d435f051 (patch) | |
tree | 97f6c8a1584c44bebbe1122d90c7954662eaa8f0 /src/args.c | |
parent | 546ed4b224800436170d62b4f011f6028c80a64d (diff) | |
download | calcurse-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-x | src/args.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |