Update src/main.cpp

Fixed wrong comparison argument order.
Merge pull request #1 from skkap/patch-1

Update src/main.cpp