diff --git a/src/config.cpp b/src/config.cpp index 72e6695..8cb3d5e 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -101,7 +101,7 @@ config::Config::Config(const std::filesystem::path& settings) : } toml::table tbl; - nowide::ifstream config_stream{to_utf8_encoded_string(settings)}; + nowide::ifstream config_stream{to_utf8_encoded_string(config_path)}; try { tbl = toml::parse(config_stream); } catch (const toml::parse_error& err) {