mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-05 03:01:42 -04:00
ini method fix .
This commit is contained in:
parent
c05e7e6608
commit
4ee9979868
1 changed files with 5 additions and 1 deletions
|
@ -142,6 +142,10 @@ public:
|
|||
value_pairs[it->second].second = std::move(value);
|
||||
}
|
||||
|
||||
void SetInteger(const CString& key, const int val) {
|
||||
this->SetString(key, INIHelper::ToString(val));
|
||||
}
|
||||
|
||||
void Insert(const CString& key, const CString& value) {
|
||||
this->Insert(key, CString(value));
|
||||
}
|
||||
|
@ -314,7 +318,7 @@ public:
|
|||
void SetBool(const CString& section, const CString& key, const bool value) {
|
||||
this->SetString(section, key, INIHelper::ToString(value));
|
||||
}
|
||||
void SetInteger(const CString& section, const CString& key, const bool value) {
|
||||
void SetInteger(const CString& section, const CString& key, const int value) {
|
||||
this->SetString(section, key, INIHelper::ToString(value));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue