From 4179e480e8315fcf98f1e76c5222413b9f993dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 6 Sep 2020 14:48:15 +0200 Subject: [PATCH] config: use correct config file path when logging errors and warnings --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 56e5af12..000538f8 100644 --- a/config.c +++ b/config.c @@ -1841,7 +1841,7 @@ config_load(struct config *conf, const char *conf_path, bool errors_are_fatal) goto out; } - ret = parse_config_file(f, conf, conf_path, errors_are_fatal); + ret = parse_config_file(f, conf, conf_file.path, errors_are_fatal); fclose(f); conf->colors.selection_uses_custom_colors =