Fix crash when pressing delete button in server browser and no server is selected.
authorJürgen Doser <jurgen.doser@gmail.com>
Tue, 22 Jan 2013 15:55:50 +0000 (16:55 +0100)
committerJürgen Doser <jurgen.doser@gmail.com>
Tue, 22 Jan 2013 18:05:46 +0000 (19:05 +0100)
commitf214940c96d9fef72b06a65641d01115a582b098
treeda63f086d850f675c1365c4b35bcef8228ea4cad
parent26a0efae2359334eb418f91bf85c0eae9db45646
Fix crash when pressing delete button in server browser and no server is selected.

A check for that was there, but was comparing an unsigned variable to
-1, which doesn't work.
src/guiMainMenu.cpp