From ea0eff59a84ad0eab68eee646de1af8f52df1ea4 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sat, 29 May 2021 15:00:28 -0400 Subject: [PATCH] Fix additional source typos --- opennurbs_instance.cpp | 4 ++-- opennurbs_subd.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/opennurbs_instance.cpp b/opennurbs_instance.cpp index a387abc5..19cfdf67 100644 --- a/opennurbs_instance.cpp +++ b/opennurbs_instance.cpp @@ -2395,8 +2395,8 @@ bool ON_InstanceDefinition::Internal_WriteV5( if (!binary_archive.WriteDouble(m_us.MetersPerUnit(ON_DBL_QNAN))) break; - const bool bLegacyBoolThatIsAlwasyFalse = false; - if (!binary_archive.WriteBool(bLegacyBoolThatIsAlwasyFalse)) + const bool bLegacyBoolThatIsAlwaysFalse = false; + if (!binary_archive.WriteBool(bLegacyBoolThatIsAlwaysFalse)) break; // version 1.4 fields diff --git a/opennurbs_subd.cpp b/opennurbs_subd.cpp index a9cf6c3e..adbb9e10 100644 --- a/opennurbs_subd.cpp +++ b/opennurbs_subd.cpp @@ -6623,11 +6623,11 @@ static const ON_wString Internal_DescribeWaste(size_t waste, size_t total) double e = fabs(i - p); ON_wString description = ON_wString::EmptyString; - const double negligable = 0.1; - if (e < negligable) + const double negligible = 0.1; + if (e < negligible) { if (0.0 == i) - description = L" negligable"; + description = L" negligible"; p = i; } if (description.IsEmpty())