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>2020-07-10 04:41:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-10 04:49:46 +0300
commit3dd460aa7fbb7021130b58f7809cfda5b69df201 (patch)
treea0f32ca3adcb547b7b7c32df27443e3bb52a7e29 /source/blender/blenlib
parenta0d3b60015e890d3c383f9c6fd23dbed2fc71d70 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_resource_collector.hh2
-rw-r--r--source/blender/blenlib/intern/rand.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_resource_collector.hh b/source/blender/blenlib/BLI_resource_collector.hh
index b8cd720583f..672a1269962 100644
--- a/source/blender/blenlib/BLI_resource_collector.hh
+++ b/source/blender/blenlib/BLI_resource_collector.hh
@@ -91,7 +91,7 @@ class ResourceCollector : NonCopyable, NonMovable {
/**
* Pass ownership of some resource to the ResourceCollector. The given free function will be
- * calld when the collector is destructed.
+ * called when the collector is destructed.
*/
void add(void *userdata, void (*free)(void *), const char *name)
{
diff --git a/source/blender/blenlib/intern/rand.cc b/source/blender/blenlib/intern/rand.cc
index 75da906c850..79e98181958 100644
--- a/source/blender/blenlib/intern/rand.cc
+++ b/source/blender/blenlib/intern/rand.cc
@@ -427,7 +427,7 @@ BLI_INLINE double radical_inverse(unsigned int n)
{
double u = 0;
- /* This reverse the bitwise representation
+ /* This reverse the bit-wise representation
* around the decimal point. */
for (double p = 0.5; n; p *= 0.5, n >>= 1) {
if (n & 1) {