From 858c41c946ecfee17eea07c7f6fd7a2e2ee60bb7 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 18 Dec 2024 21:49:59 -0500 Subject: [PATCH] fix: #7942, Correctly substitute config name part fixes https://github.com/deskflow/deskflow/issues/7942 --- src/lib/server/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/Config.cpp b/src/lib/server/Config.cpp index 6ce1d3c35..078e12180 100644 --- a/src/lib/server/Config.cpp +++ b/src/lib/server/Config.cpp @@ -715,7 +715,7 @@ void Config::readSectionOptions(ConfigReadContext &s) if (handled) { // make sure handled options aren't followed by more values if (i < line.size() && (line[i] == ',' || line[i] == ';')) { - throw XConfigRead(s, "to many arguments to %s", name); + throw XConfigRead(s, std::string("too many arguments for: ").append(name)); } } else { // make filter rule