This commit is contained in:
Henrik Rydgård committed 2025-08-31 13:37:59 +02:00
1 parent 5751e202a5
commit 3056e977cc
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -308,7 +308,7 @@ void Section::Set(std::string_view key, const std::vector<std::string>& newValue
temp += value + ",";
}
// remove last ,
if (temp.length())
if (!temp.empty())
temp.resize(temp.length() - 1);
Set(key, temp.c_str());
}