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:
authorCampbell Barton <ideasman42@gmail.com>2021-10-24 11:31:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-24 13:04:04 +0300
commit1411118055368022cf466448d4da8494d05e02c1 (patch)
tree676bdadcc67d3d65fd89296b66341ecdc795f613 /source/blender/blenlib
parente288e392a8c3100cb60f6b7659323905e47c72b8 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_string_ref.hh2
-rw-r--r--source/blender/blenlib/intern/expr_pylike_eval.c2
-rw-r--r--source/blender/blenlib/intern/noise.c3
-rw-r--r--source/blender/blenlib/intern/string.c2
4 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_string_ref.hh b/source/blender/blenlib/BLI_string_ref.hh
index 4c2b26fe316..34baf94c448 100644
--- a/source/blender/blenlib/BLI_string_ref.hh
+++ b/source/blender/blenlib/BLI_string_ref.hh
@@ -391,7 +391,7 @@ constexpr StringRef StringRefBase::trim() const
}
/**
- * Return a new StringRef that does not contain leading and trailing whitespace.
+ * Return a new StringRef that does not contain leading and trailing white-space.
*/
constexpr StringRef StringRefBase::trim(const char character_to_remove) const
{
diff --git a/source/blender/blenlib/intern/expr_pylike_eval.c b/source/blender/blenlib/intern/expr_pylike_eval.c
index 4d1ba190c14..1acb8299aa2 100644
--- a/source/blender/blenlib/intern/expr_pylike_eval.c
+++ b/source/blender/blenlib/intern/expr_pylike_eval.c
@@ -653,7 +653,7 @@ static bool parse_add_func(ExprParseState *state, eOpCode code, int args, void *
/* Extract the next token from raw characters. */
static bool parse_next_token(ExprParseState *state)
{
- /* Skip whitespace. */
+ /* Skip white-space. */
while (isspace(*state->cur)) {
state->cur++;
}
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c
index 9850de69b5a..a0938f4f713 100644
--- a/source/blender/blenlib/intern/noise.c
+++ b/source/blender/blenlib/intern/noise.c
@@ -1426,8 +1426,7 @@ float BLI_noise_mg_multi_fractal(
}
return value;
-
-} /* multifractal() */
+}
/**
* Heterogeneous procedural terrain function: stats by altitude method.
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index 0ea784c95b0..e8be674b6c1 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -1026,7 +1026,7 @@ void BLI_str_toupper_ascii(char *str, const size_t len)
}
/**
- * Strip whitespace from end of the string.
+ * Strip white-space from end of the string.
*/
void BLI_str_rstrip(char *str)
{