Merge pull request #3690 from mpimenov/lenth

[geometry] Fixed a warning message.
This commit is contained in:
ygorshenin 2016-06-29 17:44:40 +03:00 committed by GitHub
commit 19af6cdc39

View file

@ -37,7 +37,7 @@ void Spline::AddPoint(PointD const & pt)
/// Now we have line objects with zero length segments
if (!IsEmpty() && (pt - m_position.back()).IsAlmostZero())
{
LOG(LDEBUG, ("Found seqment with zero lenth (the ended points are same)"));
LOG(LDEBUG, ("Found a zero-length segment (the endpoints coincide)"));
return;
}