From 6faeac9fe2867aca9c111e4f86f74912c115eddd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 25 Mar 2012 22:35:18 +0000 Subject: style cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers that done expand macros. --- source/blender/editors/space_time/time_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_time') diff --git a/source/blender/editors/space_time/time_ops.c b/source/blender/editors/space_time/time_ops.c index 3eaf2b8100e..1c1f7a69865 100644 --- a/source/blender/editors/space_time/time_ops.c +++ b/source/blender/editors/space_time/time_ops.c @@ -143,7 +143,7 @@ static int time_view_all_exec (bContext *C, wmOperator *UNUSED(op)) View2D *v2d= (ar) ? &ar->v2d : NULL; float extra; - if ELEM(NULL, scene, ar) + if (ELEM(NULL, scene, ar)) return OPERATOR_CANCELLED; /* set extents of view to start/end frames (Preview Range too) */ -- cgit v1.2.3