Minor syntax change, no change in function.

Replaced a 2-line if/else statement on lines 91-92 with a shorter, one
line statement using ?: notation.