Fix typo in config.hpp

This commit is contained in:
Stepland 2023-01-09 16:51:48 +01:00
parent bbf70b08a7
commit 481ca15b0c

View File

@ -101,7 +101,7 @@ config::Config::Config(const std::filesystem::path& settings) :
} }
toml::table tbl; toml::table tbl;
nowide::ifstream config_stream{to_utf8_encoded_string(settings)}; nowide::ifstream config_stream{to_utf8_encoded_string(config_path)};
try { try {
tbl = toml::parse(config_stream); tbl = toml::parse(config_stream);
} catch (const toml::parse_error& err) { } catch (const toml::parse_error& err) {