Swaped code snippets

The two code snippets are swaped. I fixed this. :)
Merge pull request #1 from joushx/patch-1

Swaped code snippets