Fix switch non-uniform syntax
Merge pull request #1076 from velosipedist/fix-typos

Fix switch non-uniform syntax