mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
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:
parent
3e90dca667
commit
93e956e7ac
8 changed files with 164 additions and 50 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue