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