Minor formatting in the CSettings class

This commit is contained in:
Maschell 2018-07-17 15:28:30 +02:00
parent e947c4e5c3
commit 5d9a2273ad

View File

@ -50,9 +50,10 @@ CSettings::~CSettings() {
void CSettings::SetDefault() {
for(uint32_t i = 0; i < settingsValues.size(); i++) {
if(settingsValues[i].dataType == TypeString)
if(settingsValues[i].dataType == TypeString) {
delete settingsValues[i].strValue;
}
}
settingsNames.resize(MAX_VALUE);
settingsValues.resize(MAX_VALUE);