diff --git a/library/VersionInfo.cpp b/library/VersionInfo.cpp index e0da4ca96..c7a4c6893 100644 --- a/library/VersionInfo.cpp +++ b/library/VersionInfo.cpp @@ -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 << "" << endl; ss << endl; return ss.str(); -} \ No newline at end of file +}