From 99eec1e6ebb0d501bc9de4f4f1ea9cd14b13c7dc Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 10 Nov 2012 09:00:01 +0100 Subject: [PATCH] fix cpp-check --- src/config/configfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index 31759bc1..6c8097e6 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -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);