aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2018-11-10 12:34:47 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2018-11-10 12:34:47 +0100
commite3ca60eefe08b253ff436fe16d85b4317c7a2523 (patch)
treeac9cd2dc701f4c9324c4f624c84294931b508527 /src
parente6cffdc6bd58e0ddefbb0b21e8bbe841963bce48 (diff)
downloadcalcurse-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>
Diffstat (limited to 'src')
-rw-r--r--src/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io.c b/src/io.c
index 68e6f73..1adf382 100644
--- a/src/io.c
+++ b/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_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);