From 4226ee0b71fec6f08897dacf3d6632526618acca Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Jan 2019 23:15:58 +1100 Subject: Cleanup: comment line length (blenlib) Prevents clang-format wrapping text before comments. --- source/blender/blenlib/intern/voxel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/voxel.c') diff --git a/source/blender/blenlib/intern/voxel.c b/source/blender/blenlib/intern/voxel.c index 37b7ca37ba5..e7e58071d76 100644 --- a/source/blender/blenlib/intern/voxel.c +++ b/source/blender/blenlib/intern/voxel.c @@ -63,7 +63,8 @@ BLI_INLINE int FLOORI(float x) return ((x >= 0.f) || (float)r == x) ? r : (r - 1); } -/* clamp function, cannot use the CLAMPIS macro, it sometimes returns unwanted results apparently related to +/* clamp function, cannot use the CLAMPIS macro, + * it sometimes returns unwanted results apparently related to * gcc optimization flag -fstrict-overflow which is enabled at -O2 * * this causes the test (x + 2) < 0 with int x == 2147483647 to return false (x being an integer, -- cgit v1.2.3