diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-11 15:46:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-11 15:53:02 +0300 |
commit | 87978ff5602991a17e712b63bbf36556f4ce00dc (patch) | |
tree | 1ac98200ec64b146301536978bbbffb6b7705517 /source/blender/blenlib/BLI_string.h | |
parent | fbf92f5967980691a94633fa4b7e14311adf1d16 (diff) |
Cleanup: rename BLI_str_format_attribute_domain_size
This is useful without any functionality specific to attribute domains,
rename to `BLI_str_format_decimal_unit` to follow naming of a similar
function `BLI_str_format_byte_unit`.
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 0344622e81d..15926e8f2d2 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -307,7 +307,7 @@ void BLI_str_format_byte_unit(char dst[15], long long int bytes, bool base_10) A * * Length of 7 is the maximum of the resulting string, for example, `-15.5K\0`. */ -void BLI_str_format_attribute_domain_size(char dst[7], int number_to_format) ATTR_NONNULL(); +void BLI_str_format_decimal_unit(char dst[7], int number_to_format) ATTR_NONNULL(); /** * Compare two strings without regard to case. * |