CS: Remove whitespace at end of if statement