diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2019-09-09 18:29:21 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2019-09-09 18:29:21 +0300 |
commit | 6d4b311888d01f32381d8838a440981134613d40 (patch) | |
tree | 83b752fb1c09ec6166afcab72670ec01ae0cf3e6 /source/blender/editors/space_file/filesel.c | |
parent | 2b2739724e6502d2798d22b516a4ffb61596c556 (diff) |
UI: File Browser Sizes in Binary for Windows
This adds per-platform change so Windows users will see file sizes calculated with a base of 1024.
Differential Revision: https://developer.blender.org/D5714
Reviewed by Brecht Van Lommel
Diffstat (limited to 'source/blender/editors/space_file/filesel.c')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index be8ebc18c2c..e54f13e9356 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -639,7 +639,7 @@ static void file_attribute_columns_widths(const FileSelectParams *params, FileLa columns[COLUMN_DATETIME].width = file_string_width(small_size ? "23/08/89" : "23 Dec 6789, 23:59") + pad; - columns[COLUMN_SIZE].width = file_string_width(small_size ? "98.7 M" : "098.7 MB") + pad; + columns[COLUMN_SIZE].width = file_string_width(small_size ? "98.7 M" : "098.7 MiB") + pad; if (params->display == FILE_IMGDISPLAY) { columns[COLUMN_NAME].width = ((float)params->thumbnail_size / 8.0f) * UI_UNIT_X; } |