Issue #22 Error when FL doesn't end in 0 or 5 should be warning

This commit is contained in:
Mat Sutcliffe
2021-08-08 19:25:44 +01:00
parent 1c10c3ba0a
commit 09b58b8084
2 changed files with 3 additions and 4 deletions

View File

@@ -342,8 +342,7 @@ namespace BlackMisc
}
if (!CMathUtils::epsilonZero(fmod(flInt, 5)))
{
if (msgs) { msgs->push_back(CStatusMessage(this).validationError(u"FL needs to end with 0 or 5")); }
return false;
if (msgs) { msgs->push_back(CStatusMessage(this).validationWarning(u"FL should end with 0 or 5")); }
}
}
}