Simplify conditionals

Ternary conditionals are evil in C. No less evil here :)