Fix an off by one error.

This commit is contained in:
Mark de Wever 2008-03-14 16:40:40 +00:00
parent 46b7625668
commit ab029ab5d6

View file

@ -254,7 +254,7 @@ std::vector<tbutton_definition::tresolution>::const_iterator get_button(const st
screen_height <= itor->window_height) {
return itor;
} else if (itor == end) {
} else if (itor == end - 1) {
return itor;
}
}