correct the wassert -> assert conversion from 2007-12-09T13:25:28Z!koraq@xs4all.nl

This commit is contained in:
Gunter Labes 2007-12-09 17:29:01 +00:00
parent a1fa8f47d0
commit 6ee95c241f

View file

@ -1105,7 +1105,7 @@ void display::enable_menu(const std::string& item, bool enable)
if(hasitem != menu->items().end()) {
const size_t index = menu - theme_.menus().begin();
if(index < buttons_.size()) {
if(index >= buttons_.size()) {
assert(false);
return;
}