Fix default paths for configuration files
Addresses a copy-paste typo introduced in commit 65064ce (Check if the configuration folder exists, 2018-08-25). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
e6cffdc6bd
commit
e3ca60eefe
6
src/io.c
6
src/io.c
@ -178,9 +178,9 @@ void io_init(const char *cfile, const char *datadir, const char *confdir)
|
|||||||
snprintf(path_dir, BUFSIZ, "%s/" DIR_NAME, home);
|
snprintf(path_dir, BUFSIZ, "%s/" DIR_NAME, home);
|
||||||
|
|
||||||
snprintf(path_conf_dir, BUFSIZ, "%s", conf_home);
|
snprintf(path_conf_dir, BUFSIZ, "%s", conf_home);
|
||||||
snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH_NAME, conf_home);
|
snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH, conf_home);
|
||||||
snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH_NAME, conf_home);
|
snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH, conf_home);
|
||||||
snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR_NAME, conf_home);
|
snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR, conf_home);
|
||||||
|
|
||||||
snprintf(path_todo, BUFSIZ, "%s/" TODO_PATH, home);
|
snprintf(path_todo, BUFSIZ, "%s/" TODO_PATH, home);
|
||||||
snprintf(path_cpid, BUFSIZ, "%s/" CPID_PATH, home);
|
snprintf(path_cpid, BUFSIZ, "%s/" CPID_PATH, home);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user