Fix out-of-bounds array access (was asserting in example-10-font, debug build)

This commit is contained in:
Lunkhound 2016-07-01 18:03:39 -07:00
parent b7913b4dbf
commit c066ca0d62

View File

@ -149,6 +149,7 @@ bool RectanglePacker::addRectangle(uint16_t _width, uint16_t _height, uint16_t&
{
m_skyline.erase(m_skyline.begin() + ii);
--ii;
--num;
}
else
{