Personally I would have broken these single-line ifs (and added {} for readability). Astyle has settings for this.