[ui] always use fake units for proposed labels

* Also improve log messages
This commit is contained in:
Pete Batard 2020-11-03 12:49:08 +00:00
parent 65a0c2c42d
commit e8c717c394
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 15 additions and 14 deletions

View file

@ -898,7 +898,7 @@ static BOOL PopulateProperties(void)
// Set a proposed label according to the size (eg: "256MB", "8GB")
static_sprintf(SelectedDrive.proposed_label, "%s",
SizeToHumanReadable(SelectedDrive.DiskSize, FALSE, use_fake_units));
SizeToHumanReadable(SelectedDrive.DiskSize, FALSE, TRUE));
// Add a tooltip (with the size of the device in parenthesis)
device_tooltip = (char*) malloc(safe_strlen(DriveName.String[device_index]) + 32);