diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-24 01:54:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-24 05:06:58 +0300 |
commit | dc434bc27316c37bc18559fef72bc5a12b10ec6b (patch) | |
tree | fc2b62fb2a27fe5cdb9eda83abb1d56e11308962 /source/blender/blenkernel/intern/unit.c | |
parent | 67d9647ae4e17bb14d89933e392381e01ebae6a0 (diff) |
Cleanup: correct use of term 'split'
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
-rw-r--r-- | source/blender/blenkernel/intern/unit.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c index e30ea687b13..ac1b5e4ab0b 100644 --- a/source/blender/blenkernel/intern/unit.c +++ b/source/blender/blenkernel/intern/unit.c @@ -501,12 +501,12 @@ static PreferredUnits preferred_units_from_UnitSettings(const UnitSettings *sett return units; } -static size_t unit_as_string_splitted(char *str, - int len_max, - double value, - int prec, - const bUnitCollection *usys, - const bUnitDef *main_unit) +static size_t unit_as_string_split_pair(char *str, + int len_max, + double value, + int prec, + const bUnitCollection *usys, + const bUnitDef *main_unit) { const bUnitDef *unit_a, *unit_b; double value_a, value_b; @@ -602,7 +602,7 @@ static size_t unit_as_string_main(char *str, } if (split && unit_should_be_split(type)) { - int length = unit_as_string_splitted(str, len_max, value, prec, usys, main_unit); + int length = unit_as_string_split_pair(str, len_max, value, prec, usys, main_unit); /* failed when length is negative, fallback to no split */ if (length >= 0) { return length; |