Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Zandman <lzandman>2021-06-22 20:42:32 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-06-22 20:54:50 +0300
commitc317f111c16b014a02f6d8368aa6c8815a147d06 (patch)
treed02b873a8ff59fe5a69290e2cbd61cdd1788e82c /source/blender/blenkernel/intern/unit.c
parent2fcd3f0296eff296c7a4fc2b7fc02b290ea985fd (diff)
Cleanup: Spelling Mistakes
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
-rw-r--r--source/blender/blenkernel/intern/unit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c
index 5cf76bb6452..c2fb5ef4238 100644
--- a/source/blender/blenkernel/intern/unit.c
+++ b/source/blender/blenkernel/intern/unit.c
@@ -152,7 +152,7 @@ static struct bUnitDef buMetricLenDef[] = {
{"micrometer", "micrometers", "µm", "um", "Micrometers", "MICROMETERS", UN_SC_UM, 0.0, B_UNIT_DEF_NONE},
/* These get displayed because of float precision problems in the transform header,
- * could work around, but for now probably people wont use these. */
+ * could work around, but for now probably people won't use these. */
#if 0
{"nanometer", "Nanometers", "nm", NULL, 0.000000001, 0.0, B_UNIT_DEF_NONE},
{"picometer", "Picometers", "pm", NULL, 0.000000000001, 0.0, B_UNIT_DEF_NONE},
@@ -988,7 +988,7 @@ static int unit_scale_str(char *str,
memcpy(str_found, str_tmp, len_num); /* Without the string terminator. */
}
- /* Since the null terminator wont be moved if the stringlen_max
+ /* Since the null terminator won't be moved if the stringlen_max
* was not long enough to fit everything in it. */
str[len_max - 1] = '\0';
return found_ofs + len_num;
@@ -1136,8 +1136,8 @@ bool BKE_unit_replace_string(
strncpy(str, str_tmp, len_max);
}
else {
- /* BLI_snprintf would not fit into str_tmp, cant do much in this case.
- * Check for this because otherwise BKE_unit_replace_string could call its self forever. */
+ /* BLI_snprintf would not fit into str_tmp, can't do much in this case.
+ * Check for this because otherwise BKE_unit_replace_string could call itself forever. */
return changed;
}