Remove mid-line ini comments

This commit is contained in:
Tixx
2025-09-21 21:20:52 +02:00
parent c03b1d5946
commit be1f5c04f7

View File

@@ -120,13 +120,6 @@ namespace Utils {
if (line.empty() || line[0] == ';' || line[0] == '#')
continue;
for (auto& c : line) {
if (c == '#' || c == ';') {
line = line.substr(0, &c - &line[0]);
break;
}
}
auto invalidLineLog = [&]{
debug("Invalid INI line: " + line);
debug("Surrounding lines: \n" +