fixes #482: brace-style bug with multiline conditions

Fixes #482.