Correct if statement style

Statements on separate lines from the condition should be enclosed.