Merge pull request #836 from lunkhound/fix

Fix out-of-bounds array access (was asserting in example-10-font)
This commit is contained in:
Branimir Karadžić 2016-07-01 19:17:23 -07:00 committed by GitHub
commit 8ff7e7bda3

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
{