Update main.cpp

fixed bracket error line 1009 from "if(nHeight)== -1" to " if(nHeight == -1) {"