diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 02:12:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-12 02:12:32 +0400 |
commit | b96c6220157807cbfa3568031d5ab688280fe1d6 (patch) | |
tree | b357c12ac0d629577a7711769dcec4f410293ee4 /source/blender/blenlib/intern | |
parent | c567cf3fab5b962a4166ef44f45c80941021b60d (diff) |
style cleanup
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/scanfill.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/string_utf8.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 5d3a658b206..7d405ecda9c 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -733,7 +733,7 @@ int isect_ray_tri_v3(const float p1[3], const float d[3], cross_v3_v3v3(p, d, e2); a = dot_v3v3(e1, p); /* note: these values were 0.000001 in 2.4x but for projection snapping on - * a human head (1BU==1m), subsurf level 2, this gave many errors - campbell */ + * a human head (1BU == 1m), subsurf level 2, this gave many errors - campbell */ if ((a > -0.00000001f) && (a < 0.00000001f)) return 0; f = 1.0f / a; @@ -772,7 +772,7 @@ int isect_ray_plane_v3(const float p1[3], const float d[3], cross_v3_v3v3(p, d, e2); a = dot_v3v3(e1, p); /* note: these values were 0.000001 in 2.4x but for projection snapping on - * a human head (1BU==1m), subsurf level 2, this gave many errors - campbell */ + * a human head (1BU == 1m), subsurf level 2, this gave many errors - campbell */ if ((a > -0.00000001f) && (a < 0.00000001f)) return 0; f = 1.0f / a; diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index 25191370130..4ce718aeb16 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -415,7 +415,7 @@ static short boundinsideEV(ScanFillEdge *eed, ScanFillVert *eve) static void testvertexnearedge(ScanFillContext *sf_ctx) { - /* only vertices with ->h==1 are being tested for + /* only vertices with (->h == 1) are being tested for * being close to an edge, if true insert */ ScanFillVert *eve; @@ -947,7 +947,7 @@ int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const short do_quad_tri_speedu return 0; } - /* does it only for vertices with ->h==1 */ + /* does it only for vertices with (->h == 1) */ testvertexnearedge(sf_ctx); ok = 1; diff --git a/source/blender/blenlib/intern/string_utf8.c b/source/blender/blenlib/intern/string_utf8.c index 8047de2eeca..f5c09791a68 100644 --- a/source/blender/blenlib/intern/string_utf8.c +++ b/source/blender/blenlib/intern/string_utf8.c @@ -234,7 +234,7 @@ size_t BLI_wstrlen_utf8(const wchar_t *src) // utf8slen size_t BLI_strlen_utf8(const char *strc) { - int len=0; + int len = 0; while (*strc) { if ((*strc & 0xe0) == 0xc0) { @@ -259,7 +259,7 @@ size_t BLI_strlen_utf8(const char *strc) size_t BLI_strncpy_wchar_from_utf8(wchar_t *dst_w, const char *src_c, const size_t maxcpy) { - int len=0; + int len = 0; if (dst_w == NULL || src_c == NULL) { return 0; |