From a7c4b6f49cf169af676a44ec2bf21ca4527fee95 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 19 May 2017 22:18:54 +1000 Subject: Cleanup: add braces for multi-line blocks --- source/blender/editors/space_outliner/outliner_select.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/space_outliner/outliner_select.c') diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index 89df471990a..7e05c76b35b 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -470,10 +470,11 @@ static eOLDrawState tree_element_active_defgroup( WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, ob); } else { - if (ob == OBACT) + if (ob == OBACT) { if (ob->actdef == te->index + 1) { return OL_DRAWSEL_NORMAL; } + } } return OL_DRAWSEL_NONE; } -- cgit v1.2.3