From 5c74b0964bd624fb10e1293920d8df3b089115dd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 27 Mar 2020 11:16:17 +1100 Subject: Cleanup: add iterator macros to clang-format Also rename START to BEGIN (matching BEGIN/END for most iterator macros). --- source/blender/editors/interface/view2d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/interface') diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index 73dda74fed8..adf0d6e372c 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -67,8 +67,8 @@ static void ui_view2d_curRect_validate_resize(View2D *v2d, bool resize, bool mas BLI_INLINE int clamp_float_to_int(const float f) { - const float min = (float) INT_MIN; - const float max = (float) INT_MAX; + const float min = (float)INT_MIN; + const float max = (float)INT_MAX; if (UNLIKELY(f < min)) { return min; -- cgit v1.2.3