From 481ca15b0c27377a1f64f9a1bb80d49c2c57a4ad Mon Sep 17 00:00:00 2001 From: Stepland <10530295-Buggyroom@users.noreply.gitlab.com> Date: Mon, 9 Jan 2023 16:51:48 +0100 Subject: [PATCH] Fix typo in config.hpp --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {