From 2a7b9f2d45c345ee910a430e7035fd3d406de8f7 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 25 Oct 2021 16:52:17 +0200 Subject: Cleanup: silence warning in recent commit Thanks to Dr. Sybren for pointing it out! --- source/blender/editors/space_nla/nla_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c index 0c81f461369..bf2d20cf4c9 100644 --- a/source/blender/editors/space_nla/nla_draw.c +++ b/source/blender/editors/space_nla/nla_draw.c @@ -550,7 +550,7 @@ static void nla_draw_strip(SpaceNla *snla, /* draw strip outline * - color used here is to indicate active vs non-active */ - if (strip->flag & NLASTRIP_FLAG_ACTIVE | strip->flag & NLASTRIP_FLAG_SELECT) { + if (strip->flag & (NLASTRIP_FLAG_ACTIVE | NLASTRIP_FLAG_SELECT)) { /* strip should appear 'sunken', so draw a light border around it */ color[0] = color[1] = color[2] = 1.0f; /* FIXME: hardcoded temp-hack colors */ } -- cgit v1.2.3