config: use correct config file path when logging errors and warnings

This commit is contained in:
Daniel Eklöf 2020-09-06 14:48:15 +02:00
parent c40ada903d
commit 4179e480e8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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 =