mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-23 19:01:03 +08:00
Sync changes from upstream repository
Co-authored-by: croudyj <croudyj@gmail.com> Co-authored-by: Dale Lear <dalelear@mcneel.com> Co-authored-by: kike-garbo <kike@mcneel.com> Co-authored-by: piac <giulio@mcneel.com> Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
@@ -736,7 +736,7 @@ const ON_wString ON_wString::ToMemorySize(size_t size_in_bytes)
|
||||
{
|
||||
const double x = ((double)sz)/((double)kb);
|
||||
if (0 == n)
|
||||
return ON_wString::FormatToString(L"0.03f %ls", x, units);
|
||||
return ON_wString::FormatToString(L"%0.03f %ls", x, units);
|
||||
|
||||
if (n >= 10)
|
||||
return ON_wString::FormatToString(L"%0.1f %ls", x, units);
|
||||
|
||||
Reference in New Issue
Block a user