diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2018-11-10 12:34:47 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2018-11-10 12:34:47 +0100 |
commit | e3ca60eefe08b253ff436fe16d85b4317c7a2523 (patch) | |
tree | ac9cd2dc701f4c9324c4f624c84294931b508527 | |
parent | e6cffdc6bd58e0ddefbb0b21e8bbe841963bce48 (diff) | |
download | calcurse-e3ca60eefe08b253ff436fe16d85b4317c7a2523.tar.gz calcurse-e3ca60eefe08b253ff436fe16d85b4317c7a2523.zip |
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>
-rw-r--r-- | src/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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_conf_dir, BUFSIZ, "%s", conf_home); - snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH_NAME, conf_home); - snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH_NAME, conf_home); - snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR_NAME, conf_home); + snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH, conf_home); + snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH, conf_home); + snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR, conf_home); snprintf(path_todo, BUFSIZ, "%s/" TODO_PATH, home); snprintf(path_cpid, BUFSIZ, "%s/" CPID_PATH, home); |