Update src/main.cpp

Fixed wrong comparison argument order.