mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
Issue #22 Error when FL doesn't end in 0 or 5 should be warning
This commit is contained in:
@@ -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")); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user