From 70eac6fcd02b6c44cb4b1f2fb895eae147e3f490 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 21 May 2021 10:52:46 +0200 Subject: Fix crash when parsing command line with -noincludeconf=0 Github-Pull: #22002 Rebased-From: fa9f711c3746ca3962f15224285a453744cd45b3 --- src/util/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/system.cpp b/src/util/system.cpp index 5f30136fa2..3512bb8bff 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -340,7 +340,7 @@ bool ArgsManager::ParseParameters(int argc, const char* const argv[], std::strin bool success = true; if (auto* includes = util::FindKey(m_settings.command_line_options, "includeconf")) { for (const auto& include : util::SettingsSpan(*includes)) { - error += "-includeconf cannot be used from commandline; -includeconf=" + include.get_str() + "\n"; + error += "-includeconf cannot be used from commandline; -includeconf=" + include.write() + "\n"; success = false; } } -- cgit v1.2.3