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-03-18 01:35:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-18 01:36:44 +0300
commitbb6765f28fdde392976c38712c851d0ef8c75a2c (patch)
tree500342ef54f60bb73b429e74355139665bff500f /source/blender/blenlib
parent0c58ad8a34c55344262ac74fce87888beb464155 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_endian_switch_inline.h2
-rw-r--r--source/blender/blenlib/BLI_link_utils.h2
-rw-r--r--source/blender/blenlib/intern/BLI_memiter.c2
-rw-r--r--source/blender/blenlib/intern/BLI_mempool.c2
-rw-r--r--source/blender/blenlib/intern/array_store.c4
-rw-r--r--source/blender/blenlib/intern/array_utils.c2
-rw-r--r--source/blender/blenlib/intern/math_solvers.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenlib/BLI_endian_switch_inline.h b/source/blender/blenlib/BLI_endian_switch_inline.h
index 70d428147e2..d42126fbe61 100644
--- a/source/blender/blenlib/BLI_endian_switch_inline.h
+++ b/source/blender/blenlib/BLI_endian_switch_inline.h
@@ -22,7 +22,7 @@ extern "C" {
/* only include from header */
#ifndef __BLI_ENDIAN_SWITCH_H__
-# error "this file isnt to be directly included"
+# error "this file isn't to be directly included"
#endif
/** \file
diff --git a/source/blender/blenlib/BLI_link_utils.h b/source/blender/blenlib/BLI_link_utils.h
index a877860cd8d..e1e4a8dbd4a 100644
--- a/source/blender/blenlib/BLI_link_utils.h
+++ b/source/blender/blenlib/BLI_link_utils.h
@@ -21,7 +21,7 @@
* \brief Single link-list utility macros. (header only api).
*
* Use this api when the structure defines its own ``next`` pointer
- * and a double linked list such as #ListBase isnt needed.
+ * and a double linked list such as #ListBase isn't needed.
*/
#define BLI_LINKS_PREPEND(list, link) \
diff --git a/source/blender/blenlib/intern/BLI_memiter.c b/source/blender/blenlib/intern/BLI_memiter.c
index 428dd1e2ad8..3f255ce0e16 100644
--- a/source/blender/blenlib/intern/BLI_memiter.c
+++ b/source/blender/blenlib/intern/BLI_memiter.c
@@ -58,7 +58,7 @@ typedef intptr_t offset_t;
* typically we rely on the 'count' to avoid iterating past the end. */
// #define USE_TERMINATE_PARANOID
-/* Currently totalloc isnt used. */
+/* Currently totalloc isn't used. */
// #define USE_TOTALLOC
/* pad must be power of two */
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c
index e5868abbe2c..75f934c1fb8 100644
--- a/source/blender/blenlib/intern/BLI_mempool.c
+++ b/source/blender/blenlib/intern/BLI_mempool.c
@@ -76,7 +76,7 @@
*/
#define USEDWORD MAKE_ID('u', 's', 'e', 'd')
-/* currently totalloc isnt used */
+/* Currently totalloc isn't used. */
// #define USE_TOTALLOC
/* optimize pool size */
diff --git a/source/blender/blenlib/intern/array_store.c b/source/blender/blenlib/intern/array_store.c
index cc1d6df10f5..b694f9c7fc0 100644
--- a/source/blender/blenlib/intern/array_store.c
+++ b/source/blender/blenlib/intern/array_store.c
@@ -1289,7 +1289,7 @@ static BChunkList *bchunk_list_from_data_merge(const BArrayInfo *info,
BLI_assert(i_prev <= data_len);
for (size_t i = i_prev; i < data_len;) {
- /* Assumes exiting chunk isnt a match! */
+ /* Assumes exiting chunk isn't a match! */
const BChunkRef *cref_found = table_lookup(
info, table, table_len, i_table_start, data, data_len, i, table_hash_array);
@@ -1317,7 +1317,7 @@ static BChunkList *bchunk_list_from_data_merge(const BArrayInfo *info,
BChunk *chunk_found = cref_found->link;
if (bchunk_data_compare(chunk_found, data, data_len, i_prev)) {
- /* may be useful to remove table data, assuming we dont have
+ /* May be useful to remove table data, assuming we don't have
* repeating memory where it would be useful to re-use chunks. */
i += chunk_found->data_len;
bchunk_list_append(info, bs_mem, chunk_list, chunk_found);
diff --git a/source/blender/blenlib/intern/array_utils.c b/source/blender/blenlib/intern/array_utils.c
index 17ee0eecc6b..57302f1ff81 100644
--- a/source/blender/blenlib/intern/array_utils.c
+++ b/source/blender/blenlib/intern/array_utils.c
@@ -193,7 +193,7 @@ void _bli_array_binary_or(
* \param span_step: Indices to iterate over,
* initialize both values to the array length to initialize iteration.
* \param r_span_len: The length of the span, useful when \a use_wrap is enabled,
- * where calculating the length isnt a simple subtraction.
+ * where calculating the length isn't a simple subtraction.
*/
bool _bli_array_iter_span(const void *arr,
unsigned int arr_len,
diff --git a/source/blender/blenlib/intern/math_solvers.c b/source/blender/blenlib/intern/math_solvers.c
index 85900dc32a6..131afc19f28 100644
--- a/source/blender/blenlib/intern/math_solvers.c
+++ b/source/blender/blenlib/intern/math_solvers.c
@@ -167,7 +167,7 @@ bool BLI_tridiagonal_solve_cyclic(
return false;
}
- /* prepare the noncyclic system; relies on tridiagonal_solve ignoring values */
+ /* Prepare the non-cyclic system; relies on tridiagonal_solve ignoring values. */
memcpy(b2, b, bytes);
b2[0] -= a0;
b2[count - 1] -= cN;