Traits are active if MORE than 10 away from 50

develop
Espen Wiborg 2011-12-28 20:54:36 +01:00
parent 16241a7e78
commit 565f937246
1 changed files with 2 additions and 2 deletions

@ -1164,7 +1164,7 @@ string VersionInfo::getTrait (const uint32_t traitIdx, const uint32_t traitValue
if(d->traits.size() > traitIdx)
{
int diff = absolute(traitValue-50);
if(diff < 10)
if(diff <= 10)
{
return string("");
}
@ -1253,4 +1253,4 @@ std::string VersionInfo::PrintOffsets()
ss << i << "</Version>" << endl;
ss << endl;
return ss.str();
}
}