fix cpp-check
This commit is contained in:
@@ -555,7 +555,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState)
|
|||||||
///////// VERSION HACK SECTION ///////////////////////
|
///////// VERSION HACK SECTION ///////////////////////
|
||||||
//this is the right place for special version depending config hacks:
|
//this is the right place for special version depending config hacks:
|
||||||
//0.9.1 - log interval needs to be set to 1 instead of 0
|
//0.9.1 - log interval needs to be set to 1 instead of 0
|
||||||
if (configRev > 94 || configRev < 99) { // this means 0.9.1 or 0.9.2 or 1.0
|
if (configRev >= 95 && configRev <= 98) { // this means 0.9.1 or 0.9.2 or 1.0
|
||||||
TiXmlElement * confElement2 = new TiXmlElement( "LogInterval" );
|
TiXmlElement * confElement2 = new TiXmlElement( "LogInterval" );
|
||||||
config->LinkEndChild( confElement2 );
|
config->LinkEndChild( confElement2 );
|
||||||
confElement2->SetAttribute("value", 1);
|
confElement2->SetAttribute("value", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user