Code style - spacing around if
Merge pull request #1167 from jrfnl/Code-style-fixes

Code style - spacing around if