Minor edit

Same code was used to implement two clauses of a switch statement: coalesced such two cases into one.