tweaks: replace a three-case switch with an if and an else
1 file changed