correct the wassert -> assert conversion from 2007-12-09T13:25:28Z!koraq@xs4all.nl
This commit is contained in:
parent
a1fa8f47d0
commit
6ee95c241f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue