Whitespace and indentation fix

Fixed whitespace and indentation of lasybear's pull request #272.