input: simplify a bit of code, reducing a four-case switch to a single if
1 file changed