corrected indentation in a function

Changed indentation to meet the style of the whole file. Looked bad so I sent a pull