Sync changes from upstream repository

Co-authored-by: Steve Baer <steve@mcneel.com>
Co-authored-by: Nathan Letwory <nathan@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
This commit is contained in:
Bozo The Builder
2019-11-05 18:13:55 -08:00
committed by Will Pearson
parent b844466e88
commit 799431a63b
130 changed files with 29557 additions and 9236 deletions

View File

@@ -229,7 +229,10 @@ bool ON_NumberFormatter::FormatNumber(
{
if (0 != wholenumber)
{
sFormat.Format(L"%d ", (int)wholenumber);
if (0 != numerator)
sFormat.Format(L"%d ", (int)wholenumber);
else
sFormat.Format(L"%d", (int)wholenumber);
}
if (0 != numerator)