Fix a crash when Arctic Ocean is selected.

MFC after:	1 week
This commit is contained in:
jkim 2008-06-02 23:37:33 +00:00
parent 2510cd62c4
commit 4bd0bcf691

View File

@ -107,9 +107,8 @@ continent_country_menu(dialogMenuItem *continent)
int menulen;
/* Short cut -- if there's only one country, don't post a menu. */
if (contp->nitems == 1) {
return set_zone_menu(&contp->menu[0]);
}
if (contp->nitems == 1)
return (contp->menu[0].fire(&contp->menu[0]));
/* It's amazing how much good grammar really matters... */
if (!isocean)