mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
fix: #7942, Correctly substitute config name part
fixes https://github.com/deskflow/deskflow/issues/7942
This commit is contained in:
parent
8b25e11f81
commit
858c41c946
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user