Enhance:ini registry sequence (#121)

* '+=' supported .
* introduced registry list value deduplication .
* TechnoType listing now parse data both from ini and map .
* added UT case .
This commit is contained in:
Zero Fanker 2024-12-01 14:09:30 -05:00 committed by GitHub
parent 3e90dca667
commit 93e956e7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 164 additions and 50 deletions

View file

@ -1281,7 +1281,8 @@ void CFinalSunDlg::SaveMap(CString FileName_)
char c[50];
for (auto e = 0; e < sec.Size(); e++) {
auto const& [key, value] = sec.Nth(e);
fi = key;
// restore += format
fi = key[0] != '+' ? key : '+';
fi += "=";
fi += value;
fi += "\n";