Cleanup: silence warning in recent commit

Thanks to Dr. Sybren for pointing it out!
This commit is contained in:
Pablo Vazquez 2021-10-25 16:52:17 +02:00
parent 6da63b19ff
commit 2a7b9f2d45
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}