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>2012-04-22 15:54:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-22 15:54:53 +0400
commit5c891386842037910f5d522c7d3ffb1792b804db (patch)
tree133e551d3bf684ea1ccaa8a7d56a4f57b879a95a /source/blender/blenlib
parent69d0a68f0d7ed82b9701c5a7832f609e4ea4fd75 (diff)
style cleanup: comments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_pbvh.h2
-rw-r--r--source/blender/blenlib/intern/fnmatch.c12
-rw-r--r--source/blender/blenlib/intern/math_geom.c4
-rw-r--r--source/blender/blenlib/intern/storage.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenlib/BLI_pbvh.h b/source/blender/blenlib/BLI_pbvh.h
index 210238efcfd..e6578390ea6 100644
--- a/source/blender/blenlib/BLI_pbvh.h
+++ b/source/blender/blenlib/BLI_pbvh.h
@@ -160,7 +160,7 @@ int BLI_pbvh_isDeformed(struct PBVH *pbvh);
* - spend most of the time in the relatively simple inner loop */
/* note: PBVH_ITER_ALL does not skip hidden vertices,
- PBVH_ITER_UNIQUE does */
+ * PBVH_ITER_UNIQUE does */
#define PBVH_ITER_ALL 0
#define PBVH_ITER_UNIQUE 1
diff --git a/source/blender/blenlib/intern/fnmatch.c b/source/blender/blenlib/intern/fnmatch.c
index ae04075bda6..53172957560 100644
--- a/source/blender/blenlib/intern/fnmatch.c
+++ b/source/blender/blenlib/intern/fnmatch.c
@@ -30,12 +30,12 @@
/* Comment out all this code if we are using the GNU C Library, and are not
- actually compiling the library itself. This code is part of the GNU C
- Library, but also included in many other GNU distributions. Compiling
- and linking in this code is a waste when using the GNU C library
- (especially if it is a shared library). Rather than having every GNU
- program understand `configure --with-gnu-libc' and omit the object files,
- it is simpler to just do this in the source for each such file. */
+ * actually compiling the library itself. This code is part of the GNU C
+ * Library, but also included in many other GNU distributions. Compiling
+ * and linking in this code is a waste when using the GNU C library
+ * (especially if it is a shared library). Rather than having every GNU
+ * program understand `configure --with-gnu-libc' and omit the object files,
+ * it is simpler to just do this in the source for each such file. */
#if defined _LIBC || !defined __GNU_LIBRARY__
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c
index b92e5d39b4b..a81656d7ded 100644
--- a/source/blender/blenlib/intern/math_geom.c
+++ b/source/blender/blenlib/intern/math_geom.c
@@ -2973,8 +2973,8 @@ static float ff_quad_form_factor(float *p, float *n, float *q0, float *q1, float
static __m128 sse_approx_acos(__m128 x)
{
/* needs a better approximation than taylor expansion of acos, since that
- * gives big erros for near 1.0 values, sqrt(2 * x) * acos(1 - x) should work
- * better, see http://www.tom.womack.net/projects/sse-fast-arctrig.html */
+ * gives big erros for near 1.0 values, sqrt(2 * x) * acos(1 - x) should work
+ * better, see http://www.tom.womack.net/projects/sse-fast-arctrig.html */
return _mm_set_ps1(1.0f);
}
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index f4070f76519..1c55d5b5a39 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -472,9 +472,9 @@ int BLI_exists(const char *name)
#else
struct _stati64 st;
#endif
- /* in Windows stat doesn't recognize dir ending on a slash
- To not break code where the ending slash is expected we
- don't mess with the argument name directly here - elubie */
+ /* in Windows stat doesn't recognize dir ending on a slash
+ * To not break code where the ending slash is expected we
+ * don't mess with the argument name directly here - elubie */
wchar_t * tmp_16 = alloc_utf16_from_8(name, 0);
int len, res;
len = wcslen(tmp_16);