Замена switch на if.

Замена...
Merge pull request #5 from SavaLLL/patch-3

Замена switch на if.