fix cpp-check

This commit is contained in:
doitux
2012-11-10 09:00:01 +01:00
parent ec75024e29
commit 99eec1e6eb
+1 -1
View File
@@ -555,7 +555,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState)
///////// VERSION HACK SECTION ///////////////////////
//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
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" );
config->LinkEndChild( confElement2 );
confElement2->SetAttribute("value", 1);